FTP restricted user umask - where is it?
You set it in /etc/vsftpd.conf
.
In case you are wondering about the current permissions: the local_umask
setting defaults to 077
, disabling groups and others to access files in any way (as you already noticed).
Several options you can have for user auth:
anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=0002
anon_upload_enable=YES
anon_mkdir_write_enable=YES
file_open_mode=0777
-
file_open_mode
sets the default setting of files.777
sets it readable, writeable and executable for anyone. Withlocal_umask
set to002
, this gives you775
.