At 15:12 04/01/02 +0000, Mike wrote:
>Am I right in saying that if I issue ...
># chown www:www /www
># chmod 2755 /www
>then all files created in /www will be owned by user and group www and
that I 

try 
        chown -R ...
and 
        chmod -r g+w ...
(I'm guessing that the directories are already executable by the group).

>need to include all users (who need) in the 'www' group.  I geuss that I 
>would also need to tell apache to run as www:www (currently default 
>'nobody').  
Yes this is set in httpd.conf which may be /etc/httpd, or
/usr/local/httpd/conf or....somewhere else. Just change where it says
nobody. Or if you don't use 'nobody' elsewhere why not just include
'nobody' in the 'www' group? 

Another way of having a completely different set of permissions on a
directory tree (bit dodgy this) is to export the directory via smb - since
you can specify the user permissions at the mount end!

HTH

Colin

--------------------------------------------------------------------
http://www.lug.org.uk                   http://www.linuxportal.co.uk
http://www.linuxjob.co.uk               http://www.linuxshop.co.uk
--------------------------------------------------------------------

Reply via email to