Disclaimer: Do not run this command.

1st pane: A person whispering to another's ear, captioned "sudo chmod -R 777". 2nd pane: An arm getting goosebumps.
you are viewing a single comment's thread
view the rest of the comments
[–] 7 points 1 year ago (3 children)

One time I introduced someone to Linux then left them to their own devices.

I returned to them hours later to find out they had gotten annoyed with permissions errors and run chown -R ${THEIRUSER}: /.

The results were not what they wanted.

  • source
  • parent
  • hideshow 3 child comments
  • [–] 2 points 1 year ago (1 child)

    I did this once by accident (bad scripting, managed to abort it,) it wasn't too bad until sudo told me that the sudoers file had the wrong owner. I then learnt that there are other ways to become root.

    OS ran for another ~6months after I re chowned etc to root.

  • source
  • parent
  • hideshow 1 child comment