What is the situation why ls -l
returns a list of subdirectories in the form below?
d????????? ? ? ? ? ? Subdirectory
A tree
launched on that directory returns 0 directories, 0 files
for example. The system seems to know the name of the subdirectory but cannot find it.
Which missing link confuses ls
?
Late note. On directories, thus not on files, see also:
x
access to the directory, they can't read the permission bits of the contained entries, regardless of if those entries are files or directories. On some systems, they can get the type though, sols
can showd?????????
, or-?????????
. The answers in that linked question mention the same permissions issue that's also mentioned in the answer below. – ilkkachu Nov 01 '21 at 10:53