FTP user and custom umask ?

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 :confused:

Use the directive to customize the umask for particular directories only:

Umask 022

Good lords, this thread is nearly two years old! :slight_smile: