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-square134fedilinkarrow-up1712arrow-down117
arrow-up1695arrow-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-square134fedilink
minus-squareatzanteol@sh.itjust.workslinkfedilinkarrow-up6·edit-29 months agoIt’s necessary if you want to give somebody rw access to a subdirectory but not the parent. The parent gets “x” and the child gets “rwx”. This way you can have multiple users with their own directories under, say, /var/www/html but restrict access to /var/www/html itself. If the user doesn’t have “x” then they can’t see anything in that directory at all.
It’s necessary if you want to give somebody rw access to a subdirectory but not the parent.
The parent gets “x” and the child gets “rwx”.
This way you can have multiple users with their own directories under, say, /var/www/html but restrict access to /var/www/html itself.
If the user doesn’t have “x” then they can’t see anything in that directory at all.