Hi colin,

Sorry for the delay in replying to this...

On Friday 04 January 2002 16:39, you wrote:
> 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).

Great stuff, I did the above so I now have the correct permissions on my 
/www, i still need to read some more about this to understand it though.

> >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?
OK changed apache to run as www, also added selected users to www group.  All 
working.  
>
> 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!

Mmmm, the very mention of Samba confusses me :-)  I installed it a while ago 
and managed to get a very simple setup to share files on my LAN.  BUT I dread 
to think how insecure it is!  The more I followed the HOWTO the more things 
got confussed - this may very well be the subject of another post in the near 
future:)  Originaly I intended to export my /www (on my 'server') to my work 
box but I gave up and installed proftp instead - probably not logical but 
then I seldom am ....

In case you are wondering,  this is not a professional setup.  I got hooked 
on playing with web sites a few years ago, got Linux last year and now want 
to know everything.  My grand plan is to learn enough to make a learning / 
resource network for my work (and as part of professional studies).  i am an 
intensive Care Nurse practicioner by trade and see a huge potential in using 
open source tech's to impliment a structured training programme and 
information/support network.  I reckon I can do this with Linux, Apache PHP 
and MySQL operating on a single 'server'.  Then I could deploy this on the 
internet (rather than an intra) and license it as GPL.  It really excites me 
but I have a great deal to learn - this by way of an explaination as to why I 
ask such stupid questions!!

your help is greatly appreaciated,

cheers
Mike

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

Reply via email to