unsaid0415@szmer.info to Linux@lemmy.mlEnglish · 1 year 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-squaremessage-square130fedilinkarrow-up1702arrow-down117
arrow-up1685arrow-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 · 1 year agomessage-square130fedilink
minus-squareGenderNeutralBro@lemmy.sdf.orglinkfedilinkEnglisharrow-up17·1 year 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-squaretunetardis@lemmy.calinkfedilinkarrow-up14·1 year 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.