Hi Colin,

Thanks for the advice, I have set up user and group 'www'

> Also, should my apache doc root be owned by root:root?
>
> Definitely not - that means only root can maintain the website - not
> normally a good idea even on a 'home' PC. 
Yep I am finding that out!  My plan is to make my ''server'' PC keyboardless 
and monitorless and to control it from my ''work'' machine but I keep running 
into permission problems.

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 
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').  I realise this is another gapping hole in my knowledge but I a 
wanting to learn a lot more about linux, sometimes the man pages confuse me 
though (which is not difficult :-)

Best wishes

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

Reply via email to