DOH - screwed up / with bad chmod command - how to recover?
Posted on 2007-03-23
Logged in as root and from the following directory:
I made the following stupid:
chmod -R 660 /
.... I ctrl-c this as soon as I noticed it was taking a few seconds but now I am wandering what the repercussions I might expect would be. Already I get an error sshing in and am unable to open an sftp session! /sbin/consoletype: Permission denied (fixed that with 777 for now)
Yes I know what 660 permissions are but not sure the effect on / is going to be and what default permissions should be what the best way to recover from this screwup is. OS is CentOS 4.4