When I set the setfacl, wordpress sites are giving 500 internal server error. I am planning to set a user 'developer' with the home directory as '/home' Inside the /home directory, each site is having its own ownership. For example, /home/site1 should have ownership user1:user1 and /home/site2 should have user2:user2 and so on. If I create a user 'developer' with home directory as /home, would he be able to access and modify the site files inside /home/site1 and /home/site2 which is having different ownership. Its not practical to add the user 'developer' to all the groups user1,user2 etc. Any thoughts on this ?
On Tue, Nov 5, 2013 at 11:42 PM, Nux! nux@li.nux.ro wrote:
On 05.11.2013 18:00, John R Pierce wrote:
On 11/5/2013 3:40 AM, Gopu Krishnan wrote:
I cant own a particular group recursively to /home since each site files inside the /home is having their own username and passwor. I guess i should try setfacl. Will let u knw the results.
for each $USER... usermod -g webdev $USER chgroup -R webdev /home/$USER chmod -R g+rw /home/$USER
done.
If that CPanel runs PHP as suphp or fcgi this will break functionality. I still think setfacl is the least invasive method.
-- Sent from the Delta quadrant using Borg technology!
Nux! www.nux.ro _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos