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

Re: lost file ownerships in etc?



On 6/16/14, der.hans <deb-user@lufthans.com> wrote:
> Am 16. Jun, 2014 schwätzte Zenaan Harkness so:
> moin moin,
>> Most files in /etc/ have lost their file ownerships, having become user
>> 1000.

>> Can it be easily fixed?
>>
>> I am running etckeeper - is that useful to fixing this?
>
> Yes, etckeeper keeps track of file ownership and permissions.
>
> See /etc/.etckeeper.

OK, I guess I can run this:
git log --pretty=oneline|more

and view/record the commits that might have anything interesting (for
replaying), and just try rolling back on day at a time, eg with:

git reset --hard HEAD~1


Any other techniques I should keep in mind?

Thanks heaps
Zenaan


Reply to: