Possible Duplicate:
How to add write permissions for a group?
On Centos 6 I'm trying to give full access to make and delete by the user mitch for /var/www/http.
I did addgroup www and then chmod -R 775 /var/www/html then groupmod -g www mitch, and did a chgrp -R www /var/www/html but when I went into /html on mitch and tried to make a file with touch it said "permission denied."
Can someone help me make anyone in www able to create and delete in the html dir?
drwxr-xr-x. 6 root root 4096 Feb 13 2012 .
drwxr-xr-x. 22 root root 4096 Sep 29 23:30 ..
drwxr-xr-x. 2 root root 4096 Feb 13 2012 cgi-bin
drwxr-xr-x. 3 root root 4096 Oct 1 21:23 error
drwsrwsr-x. 2 root www 4096 Oct 2 16:15 html
drwxr-xr-x. 3 root root 4096 Oct 2 16:13 icons
is the ls -la output for the /var/www dir
/var/www/htmland/htmlare not the same. Either there you have your answer, or you should correct your post. – angus Oct 03 '12 at 04:48ls -land groups in which mitch user is belonging usinggroups mitchcommand. That will be more easier to debug the problem. – pradeepchhetri Oct 03 '12 at 05:31ls -l. Even better would be to usels -al;) – Pitt Oct 03 '12 at 07:53/var/www/htmlthrough ACLs. See Make all new files in a directory accessible to a group – Gilles 'SO- stop being evil' Oct 03 '12 at 22:31