Wednesday, January 7, 2009

FTP umask : Default permissions of files uploaded using FTP

Problem: Although the directory had the required permissions, but when files were uploaded using ftp they had permissions rw-------. So could not be downloaded from browser("others").

Solution: Edit /etc/vsftpd.conf (Ubuntu....others may have different location for this conf file). Make umask 022 from default value of 077.

1 comment:

Unknown said...

Good to see some posts on this blog after a long time. And thanks, this was a problem I was facing some time back :)