Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Aug 2010 20:40:04 GMT
From:      Jilles Tjoelker <jilles@stack.nl>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/39329: [mount] '..' at mountpoint is subject to the permissions of the shadowed dir
Message-ID:  <201008162040.o7GKe435024021@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/39329; it has been noted by GNATS.

From: Jilles Tjoelker <jilles@stack.nl>
To: bug-followup@FreeBSD.org, svdb@stack.nl, arundel@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



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