FTP Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationFTP Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old March 4th, 2004, 12:24 PM
lustyx lustyx is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2001
Posts: 25 lustyx User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Perl, Apache, Unix Permissions, and FTP

I have a Perl script running under mod_perl that creates files and folders on a web server on the fly. If it creates a file like this...

open COUNTFILE, "+<" . "myfile.txt"

Then everything works great. My users are able to FTP up to the site and manually delete the file (through FTP). But if I make a directory like this...

mkdir($strPassDir, 0707);

then I'm not able to FTP up to the site and delete it manually. In addition I'm not able to delete through FTP, files that are created inside this directory. I get the FTP error message:

550 myfile.txt Permission denied.

It seems that it does not matter what permissions I give the directory (i.e. mkdir($strPassDir, 0707) I still cannot delete it through FTP.

What is going on? Any help would be appreciated.

Thanks.

Reply With Quote
  #2  
Old March 15th, 2004, 04:04 AM
ngibsonau ngibsonau is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Posts: 138 ngibsonau User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
check the unix group owner on the directories

check the unix group owner on the directories
__________________
--

ngibsonau

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationFTP Help > Perl, Apache, Unix Permissions, and FTP


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway