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

Re: lost file ownerships in etc?



Zenaan Harkness <zen@freedbms.net> writes:

> On 6/18/14, Carl Johnson <carlj@peak.org> wrote:
>> Zenaan Harkness <zen@freedbms.net> writes:
>>
>>> Unfortunately I have so many packages installed, it would be a rather
>>> large chroot once done, just to get ownerships back. Theoretically
>>> do-able though... thanks.
>>>
>>> I have been hoping that there was something inside etckeeper that
>>> would make this much easier. I'll do some more research.
>>
>> Had you looked at the /etc/.etckeeper file?  It contains chmod, chown,
>> and chgrp lines for the files in /etc.
>
> Superb. When that was previously mentioned, I thought it was a mistake
> for ".git". <slaps forehead>
>
> Do I assume "first chown --recursive root.root /etc/" ?

That appears to be the default.  Sorry for not mentioning that
previously.


-- 
Carl Johnson		carlj@peak.org


Reply to: