Removed execute permissions on /bin contents....

Discussion in 'Server Operation' started by RogueCoder, Apr 27, 2010.

  1. RogueCoder

    RogueCoder New Member

    I mistyped a chmod command and removed the execute permissions for every file in /bin :eek:. How might I go about fixing this :confused:
  2. RogueCoder

    RogueCoder New Member

    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?
  3. BorderAmigos

    BorderAmigos New Member

    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).

Share This Page