Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Aug 2010 19:24:15 GMT
From:      arundel@FreeBSD.org
To:        svdb@stack.nl, arundel@FreeBSD.org, freebsd-bugs@FreeBSD.org
Subject:   Re: kern/39329: [mount] '..' at mountpoint is subject to the permissions of the shadowed dir
Message-ID:  <201008161924.o7GJOFvD052933@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008161924.o7GJOFvD052933>