[KLUG Members] permissions query

Eric Beversluis econophil at charter.net
Wed Mar 22 22:30:43 EST 2006


On Wed, 2006-03-22 at 22:09 -0500, Bruce Smith wrote:
> > > > Or, from the terminal (logged in as eric having set www back to 770):
> > > > 
> > > > [eric at sonyc ~]$ cd /var/www
> > > > bash: cd: /var/www: Permission denied
> > > 
> > > What does 'grep users /etc/group' show?
> > > 
> > > What does 'cd /var ; ls -l | grep www' show?
> > 
> > This line come up with cd /var; ls -l: [full name of group is
> > apache_users]
> > 
> > drwxrwx---   8 root    apache_users 4096 Mar 22 19:18 www
> > 
> > And
> > [root at sonyc var]# grep apache_users /etc/group
> > apache_users:x:501:eric,root
> 
> And the output from the command "groups" ?
> 
> Did you just add yourself to the apache_users group?
> If so, you need to logout completely & login again.
> 
>  - BS

That seems to have done it. I thought I had tried that at one point, but
maybe not at the right point.

Thanks. LAMP seems to be working for me now--I actually got two php
files to open via apache, one invoking mysql.
> 
> 
> _______________________________________________
> Members mailing list
> Members at kalamazoolinux.org
> 


More information about the Members mailing list