Specs: Running Centos 6 64 Bit
I am trying to chown a directory for all users on the VPS, aswell as for apache. But for some reason I can only have either apache, or just the users.
I tried doing the normal chown command but making a user a owner then apache the group, and vice versa.
travis:apache and apache:travis
I have to do it fully as in apache:apache or travis:travis.
The usual command I run to chown a user:
sudo chown -R userhere:userhere /path/to/whatever/i/need
For either to work fully.
Why is this important? Because whenver I am using wordpress, or any script that gives basic input to modify other items on the VPS it requires the apache to have access.
If its on apache the perms change to 48/48.
If I want users to be able to have FTP access I have to do userhere:userhere for it to work. But in the end I wont be able to use the web based scripts again.
Really lost, please help..
I am also confused about another perms issue: https://superuser.com/questions/694746/centos-6-31592-31592-use-group-permissions