1

Apache gives a 403 error on any file uploaded to the server, unless I "chmod 777" the file

view story
linux-howto

http://stackoverflow.com – If I upload files to the webserver from any user OTHER than www-data, then I get a 403 error when I try to access the uploaded files from the browser. I can run "chmod 777" on the file and it works fine then, but it's very tedious to have to do this to every file I upload. Is there a way to make it so any of my users in the www-data group can upload files (via FTP) without issue? (HowTos)