[CentOS] Forbidden: can't access *.html files in /var/www/html

Wed Sep 29 15:49:19 UTC 2010
Robert Heller <heller at deepsoft.com>

At Wed, 29 Sep 2010 17:13:14 +0200 CentOS mailing list <centos at centos.org> wrote:

> 
> Nope this doesn't help. I've tried both 444 and 644 for Alex.html
> and vice versa: 444 and 644 for the .php and .xml files.
> 
> On Wed, Sep 29, 2010 at 4:52 PM, Rob Del Vecchio
> <rob.delvecchio at gmail.com> wrote:
> >> # ls -al Alex.html index.php hello-world.php
> >> -r--r--r-- 1 root    root     599 Sep 29 15:49 Alex.html
> >> -rw-r--r-- 1 afarber afarber   33 Jul 29 11:32 hello-world.php
> >> -rw-r--r-- 1 root    root    5631 Jun 27 09:38 index.php
> > Why is Alex.html only readable and the php files readable *and* writable?
> >  Did you try making the php files *only readable* and see what happens?

What is the mode on the directory?  What is the ownership of the directory?

> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
> 
>                                          

-- 
Robert Heller             -- 978-544-6933
Deepwoods Software        -- Download the Model Railroad System
http://www.deepsoft.com/  -- Binaries for Linux and MS-Windows
heller at deepsoft.com       -- http://www.deepsoft.com/ModelRailroadSystem/