I was going through my old code and I stumbled upon some strange behaviour.Folder and files inside it are chowned to me, however I am not allowed to enter it, or even list its content. Unless ofcource I am a root user.Here is a screenshot. Could you please explain ?GNU coreutils : 8.25,OS : Ubuntu 16.04.2 LTS
cd and ls permissions denied
ubuntu;permissions;ls
Directories must have executable bit set to be searchable. That includes listing contents as well as entering them with cd. Try chmod +x on the Scripts dir, for example. This is different from regular files where executable bit allows them to be executed (of course).More information here: Execute vs Read bit. How do directory permissions in Linux work? and In Linux, Write Permission Is Equivalent To Execute For Directories?