[GRLUG] permission denied: apache group

Eric Beversluis ebever at researchintegration.org
Sat Jan 7 15:47:13 EST 2012


On Sat, 2012-01-07 at 15:42 -0500, Eric Beversluis wrote:
> On Sat, 2012-01-07 at 15:25 -0500, Adam Tauno Williams wrote:
> > On Sat, 2012-01-07 at 15:18 -0500, Eric Beversluis wrote:
> > > I've got my WordPress files on localhost owned by apache (seemed to be
> > > the only way I could get WP to do automatic updates). Permissions set to
> > > 775.
> > > I've made myself a member of the apache group (confirmed that). But I
> > > get 'permission denied' when I try to create a new subdirectory in a WP
> > > directory (both from command line and from Nautilus).
> > > Is there something about apache that's blocking this? Or am I missing
> > > something else?
> > 
> Not having trouble with permissions etc in general.
> > Do you have anything like SELinux or AppArmour enabled?
> SELinux disabled, as far as I know.
> > 
> > Do you have nscd running on the box?  [did you restart nscd after the
> > change of group membership]
> > I think not. When I tried nscd -help I was prompted if I wanted to install it.
> > If you run "id" in that session/terminal do you see yourself as a member
> > of the group?
> > id => "uid=500(eric) gid=500(eric) groups=500(eric)"
> 
> > If you run "bash --login" and then try again does it work?
> Nope.
> Do I need to reboot to change group membership? Or restart apache to
> join that group?
> 
Restarting apache didn't make any difference to output of 'id'.
> > grlug mailing list
> > grlug at grlug.org
> > http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug
> 
> 
> 



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the grlug mailing list