I want to provide write access to a user on apache DOCROOT.
I have DOCROOT under /var/www_91.
I tried with the following:
Code:
usermod -G apache john
id john
[root@mont ~]# id ben
uid=500(john) gid=500(john) groups=500(john),48(apache)
[root@mont ~]#
cd /var
chown -R apache:ben www_91
Is it enough?
Shall I also do :
Code:
chown -R apache:ben /var ---<<< Pls Suggest?