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