|
newgrp setgid on website files
mandrake 10 with apache2, DocumentRoot is default /var/www/html
I created a new group called webadmin, recursively changed the group on
DocumentRoot (/var/www/html) to webadmin, recursive give write to group on DocumentRoot, and then add that group as a/the supplemental group to applicable users. user 1 and user 2 are both in webadmin group
I create test.html as user 1 but cannot modify it as user 2 but I need any files that are created to be writable by any user in webadmin group.
I have tried setgid on and off but doesn't seem to make any difference..
what am I doing wrong here?
|