Red Hat Bugzilla – Bug 120132
Cannot see contents of /mnt directory, but can access mounts
Last modified: 2007-11-30 17:10:39 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040312
Description of problem:
As root, I can cd to /mnt and see the contents of the directory (i.e.
my mount points os, data and data2). I can cd to the various mount
As a normal user, I cannot see the contents /mnt, but I can cd to the
various mount point directories (mounted ro with umask=002).
As normal user:
ls: .: Permission denied
(ls displays the contents of the directory)
ls -ld /mnt
drwxr-xr-x 6 root root 4096 Apr 6 12:21 /mnt
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. cd /mnt
Actual Results: Normal users cannot see the contents of the /mnt
Expected Results: Normal users should be able to see the contents of
the /mnt directory
Ok policy-1.9.2-13 adds the ability for a user to read mnt_t files.
This is governed by the user_can_mount tunable which is turned on by