I mistyped a chmod command and removed the execute permissions for every file in /bin . How might I go about fixing this
Well I got my hosting company to boot into a Live CD and fix it, but for next time I set the immutable attribute on /bin/chmod. Now I'd like to know, can I set the immutable attribute on every file in /bin? Also, I have a /bin/null dirctory that looks like a user directory and is owned by my FTP account (Pure FTPd). Is this safe to remove?
Does an FTP or SCP program use the chmod command to change permissions? If not you could have fixed it on chmod with that. (Everything in my /bin directory on Debian appears to be 755).