Changing upload permissions in vsftpd

Recently I had to change the permissions for files that were uploaded for the local user via FTP.  I wanted them to be 755.

Initially I thought it would be as simple as changing the vsftpd.conf file to set the local_umask=0755 but this change alone did nothing.  After a lot of googling and reading I came across this optimal solution, which I present here to hopefully save others some time.

local_umask=002
chmod_enable=YES
file_open_mode=0755

Recent posts View all

Talk CSS

FrontEnders - Web Performance

Sharing some of my thoughts on a FrontEnders meetup on the topic of Web Performance

Talk

Tips for how to ask for time off to attend conferences

Asking for time off to attend a conference can be nerve-racking, these tips will get you closer to attending the conferences you're interested in.