Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Revise the ftp upload permissions in 10.2' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Revise the ftp upload permissions in 10.2
Authored by: sumitro on Feb 25, '03 07:20:07PM

Hmmm.. I am kinda surprised that /etc/ftpd.conf worked in your case because it won't in my case. I am running Mac OS X Server 10.2.3 (6G30). ( I thought 10.2. uses wu-ftpd and /etc/ftp* files are ignored ...)

I wanted the default permission under a certain "uploadhere" folder to be like this:
files -rw-rw-r--
dirs drwxrwxr-x

I ended up adding these two lines to the file
/Library/FTPServer/Configuration/ftpaccess :

upload /Library/FTPServer/FTPRoot /uploadhere yes username groupname 0664 dirs 0775
upload /Library/FTPServer/FTPRoot /uploadhere/* yes username groupname 0664 dirs 0775

( username and groupname to be replace with the required names valid on individual sites)

Also I did
# kill -1 `cat /var/run/xinetd.pid`

for good measure ( I believe this might not be required but no harm in doing this ).

I am still hoping Apple will one day provide man pages for wu-ftpd .. till then "man ftpaccess" on a linux box keeps me alive ... :-)

Good luck.

[ Reply to This | # ]

Revise the ftp upload permissions in 10.2
Authored by: thepenguin on May 21, '03 04:53:59PM

The frustrating thing is, everytime I edit /Library/FTPServer/Configuration/ftpaccess, it gets overwritten when I restart the ftp service. How can I stop this?



[ Reply to This | # ]
Revise the ftp upload permissions in 10.2
Authored by: g3ski on Feb 18, '04 04:40:38AM

Get Info and delete the file extension......

I ran into this problem also. The original ftpaccess file does not have a file extension. You are probably using a text editor like TextEdit that is creating a .txt file, hence your file that looks like "ftpaccess" is really "ftpaccess.txt". After you edit "ftpaccess", do a Get Info on it, and then get rid of the .txt extension.

---
"I want my two dollars!"



[ Reply to This | # ]
Revise the ftp upload permissions in 10.2
Authored by: Billieh on Jan 16, '04 09:09:56PM

Is there a fix for this in Panther?

Thanks for any help you can provide.

billieh@soniq.org

---
-Meep



[ Reply to This | # ]
Revise the ftp upload permissions in 10.2
Authored by: luflores on Feb 16, '04 10:24:36PM

This works for me. I am running 10.3 lates. make sure you put the 'd' in ftpd.conf

-luis



[ Reply to This | # ]