196
submitted 11 months ago by Dio9sys@lemmy.blahaj.zone to c/asklemmy@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] Djtecha@lemm.ee 3 points 11 months ago

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

[-] beardedmoose@lemmy.world 6 points 10 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@lemm.ee 1 points 11 months ago

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

[-] Djtecha@lemm.ee 1 points 10 months ago

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

this post was submitted on 14 Dec 2023
196 points (98.0% liked)

Asklemmy

43831 readers
876 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy ๐Ÿ”

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~

founded 5 years ago
MODERATORS