From owner-freebsd-bugs@FreeBSD.ORG Tue Aug 17 13:20:05 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 7A1A41065694 for ; Tue, 17 Aug 2010 13:20:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 685688FC22 for ; Tue, 17 Aug 2010 13:20:05 +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 o7HDK5bJ040190 for ; Tue, 17 Aug 2010 13:20:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o7HDK5qo040189; Tue, 17 Aug 2010 13:20:05 GMT (envelope-from gnats) Date: Tue, 17 Aug 2010 13:20:05 GMT Message-Id: <201008171320.o7HDK5qo040189@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Oliver Fromme 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 Reply-To: Oliver Fromme List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Aug 2010 13:20:05 -0000 The following reply was made to PR kern/39329; it has been noted by GNATS. From: Oliver Fromme To: freebsd-bugs@FreeBSD.ORG, 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: Tue, 17 Aug 2010 15:12:33 +0200 (CEST) arundel@freebsd.org wrote: > Synopsis: [mount] '..' at mountpoint is subject to the permissions of the shadowed dir That's not a bug. It's supposed to work that way, and it works like this in all UNIX variants that I'm aware of. In fact I think it would be a bug if the behaviour was changed. That might even break some legitimate uses of the feature. It is clearly documented in the mount(8) manual page: After a successful mount, the permissions on the original mount point determine if '..' is accessible from the mounted file system. The minimum permissions for the mount point for traversal across the mount point in both directions to be possible for all users is 0111 (execute for all). This PR should be closed. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd > Can the denizens of this group enlighten me about what the > advantages of Python are, versus Perl ? "python" is more likely to pass unharmed through your spelling checker than "perl". -- An unknown poster and Fredrik Lundh