From owner-freebsd-bugs@FreeBSD.ORG Mon Aug 16 19:24:16 2010 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5B1A91065675; Mon, 16 Aug 2010 19:24:16 +0000 (UTC) (envelope-from arundel@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 2F9608FC0C; Mon, 16 Aug 2010 19:24:16 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o7GJOGpg052937; Mon, 16 Aug 2010 19:24:16 GMT (envelope-from arundel@freefall.freebsd.org) Received: (from arundel@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o7GJOFvD052933; Mon, 16 Aug 2010 19:24:15 GMT (envelope-from arundel) Date: Mon, 16 Aug 2010 19:24:15 GMT Message-Id: <201008161924.o7GJOFvD052933@freefall.freebsd.org> To: svdb@stack.nl, arundel@FreeBSD.org, freebsd-bugs@FreeBSD.org From: arundel@FreeBSD.org Cc: Subject: Re: kern/39329: [mount] '..' at mountpoint is subject to the permissions of the shadowed dir X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Aug 2010 19:24:16 -0000 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