How do I get these permissions working right so Apache can work with the files?
- by cosmicbdog
I am having a go at setting up my own Apache and can't seem to get my head around the permissions.
Lets say I grab a file from somewhere off the web and it has permission of 600.
I then upload this file via ftp to a user directory, which is also an apache virtual site, and so this file retains this permission of 600. This means that the user can read this file, but Apache can't: it will be forbidden.
What is the most simple solution so that apache can read + write whatever files end up in the users directory? Can apache be granted some sort of root power over files in a directory?