@unsaid0415@szmer.info to Linux@lemmy.mlEnglish • 10 months agoYou can't cd or ls in a folder if you have no +x permissions on it. That is all. I wasted 3 hours of my life.message-square134fedilinkarrow-up1717arrow-down117
arrow-up1700arrow-down1message-squareYou can't cd or ls in a folder if you have no +x permissions on it. That is all. I wasted 3 hours of my life.@unsaid0415@szmer.info to Linux@lemmy.mlEnglish • 10 months agomessage-square134fedilink
minus-square@GenderNeutralBrolinkEnglish19•10 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
minus-square@tunetardis@lemmy.calinkfedilink14•10 months agoI 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.
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
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 capitalX
only sets the executable bit on directories.