Public bug reported:

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.4.is.3.14.3-0ubuntu6.

** Affects: nautilus (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "The bug"
   https://bugs.launchpad.net/bugs/1796475/+attachment/5197981/+files/bug.png

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1796475

Title:
  Nautilus lists files in a directory without proper permissions

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/1796475/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to