These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for FTP user and custom umask ? on the new forum.
Hello, in the folder tree of a website, I have a special folder where users can upload some files. These files are managed by apache after that. I would like to modify the umask of this user so that by default the permissions are in 666 This user has no shell access, so no .bashrc How can I do this ?
Thanks.
Temp fix:
chgrp www-data folder
chmod 775 folder
/etc/proftpd/proftpd.conf:
Umask 002 022
But this will be for all users :/
Use the
<directory>
directive to customize the umask for particular directories only:<Directory /path/to/dir>
Umask 022
</Directory>
Good lords, this thread is nearly two years old! :)