messed var directory
Scott Lockwood
scott at guppylog.com
Thu Jun 14 21:11:31 UTC 2007
On Thu, 2007-06-14 at 17:01 -0400, Brian McKee wrote:
> On 14/06/07, Sven Richter wrote:
> > Hi Folks,
> >
> > recently i did something very stupid,
> > instad of chmodding /var/www/*
> > i chmodded /var/* with 0700 recurseviley.
> > No i got several problems, i cant search apt database
> > as user and so on.
> >
> > Is there any way i could recover the old permissions?
> > Something like an overview about the standard setup?
> >
>
> Good one :-)
>
> FWIW chmod 755 everything would be closer than 0700
> then /var/lock tmp and crash are 1777 /var/local and mail are 2775
>
> but that's just a dirty surface fix. Maybe there's some way to coax
> the default permissions info out of dpkg? I'd love to hear
> suggestions on this one - I can see me doing it :-)
Ugh. Be there, done that - did a full reinstall. Can't trust anything
else...
--
Regards,
Scott Lockwood
More information about the ubuntu-users
mailing list