[GRLUG] strange permissions change issue

Eric Beversluis ebever at researchintegration.org
Thu Mar 15 07:51:46 EDT 2012


??So yesterday I changed /var/www/html so I could save to it
(root:apache; 775). This morning it's back to root:root; 755) and I
can't save to it again. What could be going on?

On Tue, 2012-03-13 at 11:10 -0400, Eric Beversluis wrote:
> No--just regular gedit from my normal login. And it wasn't just
> yesterday--I've been saving those php files to that directory regularly
> until this morning.
> On Tue, 2012-03-13 at 10:05 -0400, Ben Rousch wrote:
> > Were you running gedit as root or sudo'ed into another account
> > yesterday? This is easy to do if you are starting gedit from the
> > command line.
> > 
> > On Tue, Mar 13, 2012 at 9:57 AM, Eric Beversluis
> > <ebever at researchintegration.org> wrote:
> > > Yesterday I was able to save files to /var/www/html. Today when I try to
> > > do that I get a permission denied message from gedit. As far as I know,
> > > I have done nothing in between to change any ownership or permissions
> > > settings.
> > >
> > > I experimented with a libreoffice document, trying to save it
> > > to /var/www/html and got this error message:
> > >     Error saving the document Untitled1:
> > >     /var/www/html/text-20120313.odt does not exist.
> > >
> > > Does anyone have any idea how this could have happened? Could an
> > > automatic update have changed some of those settings?
> > > -I don't remember authorizing any updates yesterday or this morning.
> > > -/var/www/html is owned by root with permissions 755. Presumably this is
> > > not the way it was yesterday when I was able to save to this directory.
> > > -the error, icons, and manual sub-dirs under www were changed yesterday,
> > > but there's no change indicated for html sub-dir since Feb 13.
> > > -I am able to save to subdirectories in html which are owned by me.
> > >
> > > I fixed it (chown root:apache; chmod 775) where apache group includes
> > > me. But still curious as to how this could have changed over night.
> > >
> > > EB
> > >
> > >
> > > --
> > > This message has been scanned for viruses and
> > > dangerous content by MailScanner, and is
> > > believed to be clean.
> > >
> > > _______________________________________________
> > > grlug mailing list
> > > grlug at grlug.org
> > > http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug
> > 
> > 
> > 
> > -- 
> >  Ben Rousch
> >    brousch at gmail.com
> >    http://clusterbleep.net/
> > 
> 
> 
> 




More information about the grlug mailing list