• GenderNeutralBro@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    15
    ·
    8 months ago

    You can also do chmod +x to add the executable bit to whatever the existing perms are.

    0: no permissions
    +4: read
    +2: write
    +1: execute

    • tunetardis@lemmy.ca
      link
      fedilink
      arrow-up
      11
      ·
      8 months ago

      I often go chmod -R go+rX . if I want to give read-only access to whatever I’m working on to everyone else. The capital X only sets the executable bit on directories.