Restore default ownership in CentOS after terrible chown
Posted
by tgm
on Server Fault
See other posts from Server Fault
or by tgm
Published on 2010-05-14T15:38:42Z
Indexed on
2010/05/14
15:44 UTC
Read the original article
Hit count: 331
Is there any way to restore the default ownership of a CentOS filesystem after an accidental chown -R user:group /* ?
Before I go and reinstall, I thought I'd ask and perhaps save some time. I'm in the process of setting up a new dev machine (thankfully not prod) and typed too fast or missed the . key or something. I tried to cancel as soon as I caught it but all my /bin /boot /dev etc had already been changed.
Is there hope, or just reinstall and be happy it wasn't a production machine?
© Server Fault or respective owner