I accidentally run the following command as root
chown mike -Rf / backups
the point is that I added a space between / and backups my mistake, I stopped the command after 1-2 seconds, how can I recover from this? I have problems with DirectAdmin right now for example when accessing it I recive the error:
Unable to determine Usertype
user.conf needs to be repaired
http://help.directadmin.com/item.php?id=456
Or I stopped recieving emails, I dont even know what else is messed up right now...
chown
may also have cleared any setuid or setgid bits on the affected files, even if they were originally owned by root. – Keith Thompson May 01 '13 at 22:25