unsaid0415@szmer.info to Linux@lemmy.mlEnglish · 9 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-squaremessage-square127fedilinkarrow-up1652arrow-down116
arrow-up1636arrow-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 · 9 months agomessage-square127fedilink
minus-squareZoidberg@lemm.eecakelinkfedilinkarrow-up2·9 months agoYou can still read the contents of the directory because you have -r on it. If you just run ls foo you’ll see your file on there, no problem. However, without -x you cannot read metadata in that directory. That’s why all information about the file shows as question marks.
You can still read the contents of the directory because you have
-r
on it. If you just runls foo
you’ll see your file on there, no problem.However, without
-x
you cannot read metadata in that directory. That’s why all information about the file shows as question marks.