• Zangoose@lemmy.world
      link
      fedilink
      English
      arrow-up
      10
      arrow-down
      1
      ·
      1 year ago

      Permissions are listed as “user”, “group”, “other”. I.e. the user who made the file, the group of the user who made the file (usually just their name as a group), and everyone else. In this case the rxw is for the user.

      For chmod, you can also represent these as binary numbers: 111 would mean having all 3, 101 would mean having read and write, etc. These binary numbers then get turned back into regular numbers (7 in the first example, since it’s 111) for chmod. Giving a file “chmod 777” means the user, group, and other all have full permissions on the file. “chmod 700” gives the creator full control, but no one else can view, modify, or execute the file.

        • Zangoose@lemmy.world
          link
          fedilink
          English
          arrow-up
          5
          ·
          1 year ago

          Oh I completely missed that lol. Oh well, it’s probably still a useful explanation for someone else reading this

        • Zangoose@lemmy.world
          link
          fedilink
          English
          arrow-up
          3
          ·
          1 year ago

          🤷‍♂️ They’re just internet points, lemmy doesn’t notify about up/downvotes so I will only see it if people respond. Either way it’s hopefully still useful to someone else looking at the post who isn’t familiar with basic permissions or acl