RE: [us...@httpd] Help needed to set correct permissions

2010-02-04 Thread Thomas, Peter
>Thanks, this worked. But is this the best way to do it, though? Is it possible to make the www folder traversible only by the apache user/group and not *all* users? The users on my box are trusted so >it's not a big deal but I'm just trying to understand best practices used for security. Run:

Re: [us...@httpd] Help needed to set correct permissions

2010-02-04 Thread Perl Whore
l make files executable if and only if at least one executable bit > was already set in the file's permissions. > > --Pete > -Original Message- > From: Philip Wigg [mailto:p...@philipwigg.co.uk] > Sent: Thursday, February 04, 2010 9:48 AM > To: users@httpd.apache.or

RE: [us...@httpd] Help needed to set correct permissions

2010-02-04 Thread Thomas, Peter
inal Message- From: Philip Wigg [mailto:p...@philipwigg.co.uk] Sent: Thursday, February 04, 2010 9:48 AM To: users@httpd.apache.org Subject: Re: [us...@httpd] Help needed to set correct permissions On 4 February 2010 14:34, Perl Whore wrote: > I'm still getting the permission e

Re: [us...@httpd] Help needed to set correct permissions

2010-02-04 Thread Frank Gingras
On 02/04/2010 09:34 AM, Perl Whore wrote: I'm still getting the permission error. [Thu Feb 04 06:47:11 2010] [error] [client 1.2.3.4] (13)Permission denied: access to / denied [Thu Feb 04 07:29:05 2010] [error] [client 1.2.3.4] (13)Permission denied: access to /test.htm denied [Thu Feb 04 07:2

Re: [us...@httpd] Help needed to set correct permissions

2010-02-04 Thread Philip Wigg
On 4 February 2010 14:34, Perl Whore wrote: > I'm still getting the permission error. > > [Thu Feb 04 06:47:11 2010] [error] [client 1.2.3.4] (13)Permission > denied: access to / denied > [Thu Feb 04 07:29:05 2010] [error] [client 1.2.3.4] (13)Permission > denied: access to /test.htm denied > [Thu

Re: [us...@httpd] Help needed to set correct permissions

2010-02-04 Thread Perl Whore
I'm still getting the permission error. [Thu Feb 04 06:47:11 2010] [error] [client 1.2.3.4] (13)Permission denied: access to / denied [Thu Feb 04 07:29:05 2010] [error] [client 1.2.3.4] (13)Permission denied: access to /test.htm denied [Thu Feb 04 07:29:08 2010] [error] [client 1.2.3.4] (13)Permis

Re: [us...@httpd] Help needed to set correct permissions

2010-02-04 Thread Perl Whore
Thanks, mod_userdir looks interesting. I'll use that. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr..

Re: [us...@httpd] Help needed to set correct permissions

2010-02-04 Thread Philip Wigg
First of all, you're top posting. Google that to see why that's a bad thing if you don't know what it means. You need to set your /home/somebody/www directory to readable and executable by the 'apache' user:- chmod g+rx /home/somebody/www and then the files in that directory should be readable:-

Re: [us...@httpd] Help needed to set correct permissions

2010-02-04 Thread Perl Whore
Tried that and it did not work. It's a permission error, not missing file. It worked fine on my other server when I was running apache as root. Now I'm getting the permission error when I run it as a user. On 02/04/2010 07:04 PM, Daniel Reinhardt wrote: > > -

Re: [us...@httpd] Help needed to set correct permissions

2010-02-04 Thread Perl Whore
drwx-- 4 somebody apache 4096 2010-02-03 12:34 somebody On 02/04/2010 07:04 PM, Daniel Reinhardt wrote: > > -- > From: "Perl Whore" > Sent: 04 February, 2010 12:38 > To: > Subject: [us...@httpd] Help needed to set correct permissions > >> I'

Re: [us...@httpd] Help needed to set correct permissions

2010-02-04 Thread Daniel Reinhardt
-- From: "Perl Whore" Sent: 04 February, 2010 12:38 To: Subject: [us...@httpd] Help needed to set correct permissions I'm running a default httpd install from the yum repository (Fedora 12). The user and group that starts the httpd process is "a

Re: [us...@httpd] Help needed to set correct permissions

2010-02-04 Thread Philip Wigg
> I'm running a default httpd install from the yum repository (Fedora > 12). The user and group that starts the httpd process is "apache" > (default configuration in httpd.conf). > > The default page is located in /var/www/html/ > > I have a few users on this box for whom I need to setup virtual ho