[Linux-Anyway] Re: Uh...robots.txt

  • From: Godwin Stewart <gstewart@xxxxxxxxxxx>
  • To: Linux-Anyway@xxxxxxxxxxxxx
  • Date: Fri, 2 Apr 2004 23:15:02 +0200

On Fri, 2 Apr 2004 13:08:10 -0800 (PST), Meph Istopheles <meph@xxxxxxxxxxx>
wrote:

>   Well, not sure if you're referring to httpd or apache.  The
> httpd is running as nobody & apache as root, according to ps.
> How would I determin the groups?

httpd is what counts here.

You have 3 options:

1) Keep your file UID/GID root and chmod it 444

2) Make the file belong to group nobody and chmod it 440

3) Make the file belong to UID and GID nobody and leave the permissions
   alone.

Any of the above will make it readable by the httpd, therefore "servable" on
the 'Net.

-- 
G. Stewart   --   gstewart@xxxxxxxxxxx -- gstewart@xxxxxxxxxxx
Registered Linux user #284683 (Slackware 9.0, Linux 2.4.25)
--------------------------------------------------------------
A group of cats is a "conceit". They'd like it to be called a "pride"
but that would fool nobody.
        -- Morely Dotes in NANAE, 2-FEB-2004
To unsubcribe send e-mail with the word unsubscribe in the body to:   
Linux-Anyway-Request@xxxxxxxxxxxxx?body=unsubscribe

Other related posts: