Nautilus lists files in a directory without proper permissions
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nautilus (Ubuntu) |
Expired
|
Low
|
Unassigned |
Bug Description
I have a directory inside '/tmp' which is owned by root:root (user root and group root).
Directory's permissions are 0700 (means that only the user, root, has full permissions).
The directory '/tmp' has permissions 'drwxrwxrwt' and is owned by root:root.
I created a directory '/tmp/OO' with permissions 'drwx------' which is owned by root:root.
Inside the directory '/tmp/OO' there are two files:
$ sudo ls -la /tmp/OO
total 16
drwx------ 2 root root 80 Oct 6 13:39 .
drwxrwxrwt 17 root root 400 Oct 6 13:54 ..
-rw-rw-r-- 1 root root 8503 Oct 6 13:16 FILE.ods
-rwxrw-r-- 1 root root 64 Oct 6 13:20 run.sh
I open Nautilus in '/tmp' and click on the arrow (of Tree View) for '/tmp/OO' and successfully manages to see the file 'run.sh' inside (but cannot see the file 'FILE.ods').
I expected that I won't be able to see *any* file, since that the eXecute permission of the directory '/tmp/OO' is absent for Other.
Ubuntu release 16.04.
Nautilus package version 1:3.18.
Thank you for your bug report, what happens if you try to ls the directory from a command line?