-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Description
When reading contents of a directory that contains files/directories that are for some reason not accessible to the 9P server process, the whole operation fails with a "Permission denied" error and no files are listed.
core@localhost$ cd mounted_dir
core@localhost$ ls -la
ls: reading directory '.': Permission denied
total 0
Ideally, the behavior should reflect that of ls, e.g.:
core@localhost:/proc/1$ ls -la
ls: cannot read symbolic link 'cwd': Permission denied
ls: cannot read symbolic link 'root': Permission denied
ls: cannot read symbolic link 'exe': Permission denied
total 0
dr-xr-xr-x. 9 root root 0 Nov 26 12:16 .
dr-xr-xr-x. 258 root root 0 Nov 26 12:16 ..
-r--r--r--. 1 root root 0 Nov 26 13:31 arch_status
dr-xr-xr-x. 2 root root 0 Nov 26 12:16 attr
-rw-r--r--. 1 root root 0 Nov 26 13:31 autogroup
....
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels