Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

wu-ftp ftpaccess upload

Status
Not open for further replies.

ManagerJay

IS-IT--Management
Jul 24, 2000
302
US
I am trying to set the permissions on files the web developer uploads to the web server automatically. In reading wu-ftp's web site, it looks like I should be able to add the following line to my /etc/ftpaccess file and the user should be limited to their directory and the permissions should be set correctly.

upload /hdd2/home/ yes webdevel webdevel 0755 dirs 0755

However, the permissions are not set. On any file that is uploaded, the permissions are set to 744. But the owner is set correctly.

I am running Red Hat 7.2 and running wu-ftp 2.6.1-18.

Thanks in advance for your assistance.



Jay
 
I presume you have read this...

Unlimited subdirectory creation has been prohibited as this has been the source of problems with WU-FTPD. You will need to explicitely allow a certain amount of levels of subdirs, like for example:

upload /home/test /home/test/public_html yes test users 0664 dirs 0775
upload /home/test /home/test/public_html/* yes test users 0664 dirs 0775
upload /home/test /home/test/public_html/*/* yes test users 0664 dirs 0775
upload /home/test /home/test/public_html/*/*/* yes test users 0664 dirs 0775

This is new for versions 2.6.0 and higher.

Also, I presume you are restarting the service to make the changes take effect?? ChrisCW

** Helen Waite is now in charge of all rush orders. If you are in a hurry, just go to Helen Waite.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top