The Lodge is members-only web design and development videos and live help. Log In or Sign Up.
I’m having trouble with one of my VPS’s and can’t figure this issue out.
For some reason when files are uploaded through non-root accounts files are set at 600 and folders at 700.
Even though the global umask is set at 022.
If I upload via the root account it functions as expected.
Server is running Ubuntu 12.04
Solved this by editing /etc/vsftpd.conf uncommenting the local_umask line and setting the below;
You must be logged in to reply to this topic.
Search for Stuff
Browse the Archives
Get the Newsletter
... or get the RSS feed