Disclaimer: Do not run this command.

    • palordrolap@fedia.io
      link
      fedilink
      arrow-up
      4
      ·
      6 hours ago

      It sets permissions (ch ange modification rights) on all files (-R = recursive, stepping down through directories) in the file system (hence starting at /) so that they can be read, (re)written and executed as programs by all users (the 777 part). 000 would be no permissions for anyone (except for the root user), which would be just as bad.

      • grrgyle@slrpnk.net
        link
        fedilink
        arrow-up
        1
        ·
        4 hours ago

        Excellent summary. Just as a bit of trivia I’ll add that Linux file permissions go like r w x (read write execute) = 4 2 1, so taken all together a 7 means the indicated user can do all those operations.

        And yeah, it breaks your system in surprising ways. Most people would just have to start over.