[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Hosed /var permissions



On Mon, Aug 19, 2002 at 02:39:57PM +1000, CaT wrote:
> On Mon, Aug 19, 2002 at 12:27:03AM -0400, Chris Newbold wrote:
> > On Mon, 2002-08-19 at 00:14, Adam Majer wrote:
> > 
> > > Reinstalling would be the safe thing to do. It would be very difficult to
> > > fix and you'll always might have some permission mismatches opening holes
> > > in the system.
> > 
> > That's what I was afraid of. Is there any easy way to preserve all of
> > the configuration I've done? For example, all the conf file editing in
> > /etc, the list of installed packages, etc?
> > 
> > I know I can just copy the files off somewhere, but is there an easier
> 
> Have you thought of doing
> 
> apt-get remove <package>
> apt-get install <package>
> 
> ?
> 
> The remove wont kill your configs and the install should fix the perms.

Well, he hosed his _entire_ directory. And some packages you need installed 
like apt-get or dpkg which use /var. I'm not sure if that would work.
This is especially try since most packages check if directory exists before
they create it and not what permissions it has (most of the time).

- Adam



Reply to: