• coffeecup
    link
    fedilink
    arrow-up
    3
    ·
    11 months ago

    If you didn’t use the recursion flag this wouldn’t be to bad

    • beardedmoose@lemmy.world
      link
      fedilink
      arrow-up
      7
      ·
      11 months ago

      in hindsight I should have just changed into the directory directly first then used chmod without needing the full path. Or run the flag that asks you to confirm each transaction or dry run. I’m a much smarter idiot nowadays.

    • Hadriscus
      link
      fedilink
      arrow-up
      1
      ·
      11 months ago

      would that mean it doesn’t affect anything other than top level files ?

      • coffeecup
        link
        fedilink
        arrow-up
        1
        ·
        11 months ago

        Yea without the R flag it only does the file (and since folders are files in Unix…)