vsftpd anon_umask doesn't seem to apply

Gabriel Dragffy gabe at dragffy.com
Wed Oct 17 12:20:55 UTC 2007


According to the manpage for vsftpd anonymous uploads can be given a  
different umask. At the moment anon uploads get the permissions 600  
which means they can't be downloaded anonymously. I want to change  
this so files created by the anon ftp user are world readable.

The man page says this:
anon_umask
     The value that the umask for file creation is set to for  
anonymous users. NOTE! If you want to specify octal values, remember  
the "0" prefix otherwise the value will be treated as a base 10 integer!

     Default: 077


so in vsftpd.conf I set:
anon_umask=022

but all anon uploads still get 600 permissions. What am I doing wrong  
here?

Many thanks

Gabe




More information about the ubuntu-users mailing list