Dio9sys@lemmy.blahaj.zone to Asklemmy@lemmy.ml · 11 months agoLemmy, what are some of your "oh shit" work stories?message-squaremessage-square162fedilinkarrow-up1200arrow-down14
arrow-up1196arrow-down1message-squareLemmy, what are some of your "oh shit" work stories?Dio9sys@lemmy.blahaj.zone to Asklemmy@lemmy.ml · 11 months agomessage-square162fedilink
minus-squareDjtecha@lemm.eelinkfedilinkarrow-up2·11 months agoIf you didn’t use the recursion flag this wouldn’t be to bad
minus-squarebeardedmoose@lemmy.worldlinkfedilinkarrow-up5·11 months agoin 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.
minus-squareHadriscus@lemm.eelinkfedilinkarrow-up1·11 months agowould that mean it doesn’t affect anything other than top level files ?
minus-squareDjtecha@lemm.eelinkfedilinkarrow-up1·11 months agoYea without the R flag it only does the file (and since folders are files in Unix…)
If you didn’t use the recursion flag this wouldn’t be to bad
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.
would that mean it doesn’t affect anything other than top level files ?
Yea without the R flag it only does the file (and since folders are files in Unix…)