kern/39329: [mount] '..' at mountpoint is subject to the
permissions of the shadowed dir
Jilles Tjoelker
jilles at stack.nl
Mon Aug 16 20:40:04 UTC 2010
The following reply was made to PR kern/39329; it has been noted by GNATS.
From: Jilles Tjoelker <jilles at stack.nl>
To: bug-followup at FreeBSD.org, svdb at stack.nl, arundel at freebsd.org
Cc:
Subject: Re: kern/39329: [mount] '..' at mountpoint is subject to the
permissions of the shadowed dir
Date: Mon, 16 Aug 2010 22:35:57 +0200
I do not remember any change that would affect this, and indeed I can
reproduce this on 9-current. With ufs (via mdmfs) and tmpfs, this
proceeds similar to what arundel has posted. With msdosfs, the chmod
command silently does nothing (as is also visible in the output), so it
is necessary to use the -m option to set the permissions, like
mount -t msdosfs -o -m=755 /dev/md0 /mnt
However, in all three cases the result is the same: an ls -la by a
regular user shows an entry for . and complains about Permission denied
for ..
--
Jilles Tjoelker
More information about the freebsd-bugs
mailing list