kern/39329: [mount] '..' at mountpoint is subject to the permissions of the shadowed dir

arundel at FreeBSD.org arundel at FreeBSD.org
Mon Aug 16 19:24:16 UTC 2010


Synopsis: [mount] '..' at mountpoint is subject to the permissions of the shadowed dir

State-Changed-From-To: open->feedback
State-Changed-By: arundel
State-Changed-When: Mon Aug 16 19:09:35 UTC 2010
State-Changed-Why: 
Does this issue still exist? I wasn't able to reproduce the problem running a
recent HEAD checkout (r211163):

# mkdir /mnt/tmp
# chown root:wheel /mnt/tmp
# chmod 700 /mnt/tmp
# mount -t msdosfs /dev/da0 /mnt/tmp
# chmod 755 /mnt/tmp
# ls -lad /mnt/tmp/.*
drwx------  1 root  wheel  4096 Jan  1  1980 /mnt/tmp/.
drwxr-xr-x  5 root  wheel   512 Aug 16 21:05 /mnt/tmp/..
$ ls -lad /mnt/tmp/.*
ls: /mnt/tmp/.*: Permission denied

http://www.freebsd.org/cgi/query-pr.cgi?pr=39329


More information about the freebsd-bugs mailing list