Click to See Complete Forum and Search --> : how to automatically set permissions on files uploaded via ftp


skopel
11-17-2000, 02:42 PM
when files are uploaded via ftp to my linux machine they are automatically given 644 permissions...how can I get them to automatically have 664 permissions when they are uploaded...
I don't want to have to chmod them every time I upload them
thanks

Strike
11-17-2000, 04:35 PM
See if you can set the umask of the user that the FTP daemon runs under to 112, and I would think that ought to get it done. I'm not sure how to change the umask of a user without actually logging in as them, though.