[GRLUG] update change ownership/permissions?
Eric Beversluis
ebever at researchintegration.org
Fri Feb 15 21:14:06 EST 2013
On Fri, 2013-02-15 at 18:27 -0500, Dave Chiodo wrote:
> Generally I would suggest leaving it secured, and then using su/sudo
> when you need to store/update/delete files there, but how important
> that is would depend on how critical this machine and the info on it
> is, who else has access to it, whether its a publically-accessible
> server, etc.
It doesn't seem practical to have to use su/sudo each time I add or
revise a file for a website I'm working on (these are ones I'm working
on on my own machine and access via localhost). To do this practically
I'd need to open gedit as root each time I'm working on a file.
> On Fri, Feb 15, 2013 at 6:11 PM, Eric Beversluis
> <ebever at researchintegration.org> wrote:
> > Right. My question is how it might have gotten changed, since up to,
> > like today, I was able to write to it as an ordinary user. So let me ask
> > the question again: Could an automatic update have gone in and changed
> > the ownership of /var/www/html to root from me or from apache? Do
> > updates to that kind of thing?
> >
> > On Fri, 2013-02-15 at 18:03 -0500, Dave Chiodo wrote:
> >> If its owned by root, and set 755, the only root would be able to
> >> read/write there.
> >>
> >> Are yuu using su/sudo to become root or were you trying to write as a
> >> normal user?
> >>
> >>
> >> On Fri, Feb 15, 2013 at 2:46 PM, <ebever at researchintegration.org> wrote:
> >> > I'm suddenly having trouble saving to /var/www/html and deleting from same.
> >> > Being told I do not have permission. I know I've been doing these things in the
> >> > past. /var/www/html currently is owned by root and group is root. Permissions
> >> > 755.
> >> >
> >> > Could these have been changed by an automatic update from Fedora? I can't think
> >> > of any other explanation.
> >> >
> >> > Should owner:group be apache:apache?
> >> >
> >> > Thanks.
> >> > _______________________________________________
> >> > grlug mailing list
> >> > grlug at grlug.org
> >> > http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug
> >> _______________________________________________
> >> grlug mailing list
> >> grlug at grlug.org
> >> http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug
> >
> >
> > _______________________________________________
> > grlug mailing list
> > grlug at grlug.org
> > http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug
> _______________________________________________
> grlug mailing list
> grlug at grlug.org
> http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug
More information about the grlug
mailing list