[CentOS] file permissions and groups

Mon Nov 20 00:56:04 UTC 2006
Michael Velez <mikev777 at hotmail.com>

 

> -----Original Message-----
> From: centos-bounces at centos.org 
> [mailto:centos-bounces at centos.org] On Behalf Of Barry Brimer
> Sent: Sunday, November 19, 2006 6:42 PM
> To: CentOS mailing list
> Subject: Re: [CentOS] file permissions and groups
> 
> > I have a file owned by apache:apache with permissions of 640.
> >
> > I have added myself to the apache group using usermod -G (and I can 
> > verify that using the groups command) but I still can't read the 
> > abovementioned file.
> 
> What are the permissions of the directories from the root of 
> the filesystem up top the directory that the file is in?
> 
> Is there any useful information in your apache logs?
> 
> Barry

All permissions are 755 owned by root:root up to /var/www/html and then
/var/www/html/subdir is owned by apache:apache with mode 755.

Unfortunately, there is nothing useful in the apache logs, either.

Michael