Why can the ls
command of Ubuntu list the files of a directory with no execution permission set ?
The Test
directory has read and write permissions set but no execution permission set. I understand that the x
attribute of the directory specify whether the directory can be accessed, and if it is not set then it doesn't matter whether r
or w
is set (please correct me if I'm wrong).
The cd
and cat
commands works as expected, i.e. that cannot do their job, since they cannot access the directory.