chmod -R 007 /

chmod -R 007 /


So... this made it into the list of jokes that I was going to cover.

This statement is a bash command, one which would give the owner no access to the entire filesystem, nor the people in the owners group.  It would, however give all permissions to all other people in the world. This would be a pretty stupid thing to do.

As a side note, 007 is a horrible set of permissions for a spy - you can't access your own spy, but everyone else could.

Comments

  1. chmod is a un*x command, such as /bin/chmod. bash is a shell that can execute chmod for you, but it is not a bash command.

    Btw, thank you for the list of jokes. These are great. I have to admit i even needed the explanation once or twice.

    ReplyDelete

Post a Comment

Popular posts from this blog