The following reply was made to PR kern/39329; it has been noted by GNATS.

From: Jilles Tjoelker <[email protected]>
To: [email protected], [email protected], [email protected]
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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to