Restore default ownership in CentOS after terrible chown
- by tgm
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?