Yes, apache needs be able to see those pages to serve them.  And apache runs
as nobody which has no special power to read files.  You could run apache as
root but that's a significantly risky solution; not the kind of thing one
does on a tight ship.  You might be able to add nobody to each group but
that might give nobody more power than you want.  BTW, why worry about the
webspace being private?  I mean, the whole point is for the world to be able
to see this stuff, right?  Well, maybe that's exaggerating.

I guess this is a case where ACLs would be useful.

Anthony Greene posted a couple days about this.  You can just give 711
permission to the user's home directory and at least their neighbors cannot
browse their home directory.  They should keep private files in a
subdirectory of their home dir with 700 permissions.

-Alan

----- Original Message -----
From: Jonathan Wilson <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, October 02, 2000 8:45 AM
Subject: myserver/~users/ (i.e. public_html ) not working


: Howdy,
:
: I'm trying to set up the thing where users can have their own *private*
web space in their home directory with the public_html option. The problem
is it ONLY work if their home directory is chmod o+x. That makes me very
unhappy - I'm trying to run a tight ship. and in fact, that really doesn't
seem right,  I think I must be doing something wrong. the public_html dir
it's self is chmod 777 which is fine, so long as the user's home doesn't
have to be world-anything.
:
: Any ideas what I"m doing wrong, or how to get Apache to decend into a
user's home dir without having o+x ?
:
: Does the problem come from the fact that Apache runs as nobody nogroup ?
:
: JW
:
:
:
: _______________________________________________
: Redhat-list mailing list
: [EMAIL PROTECTED]
: https://listman.redhat.com/mailman/listinfo/redhat-list



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to