On wikipedia I read the following:
The read permission, which grants the ability to read a file. When set for a directory, this permission grants the ability to read the names of files in the directory (but not to find out any further information about them such as contents, file type, size, ownership, permissions, etc.)
With this, is there any way to only let people in my group see (read) the names of a subset of the files/directories I have in a directory?
E.g. if I have
A ---- B | |----C | |----D
can I modify permissions so that members of my groups can only see (read) the names
D but not
B? (if they
ls A for example).
If this is not possible, what is the rationale behind it? What if I want to completely hide some files I have in my folders? What would the "UNIX way" of dealing with this situation?