From owner-freebsd-bugs@FreeBSD.ORG Tue Aug 17 13:12:50 2010 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8DD741065670; Tue, 17 Aug 2010 13:12:50 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [IPv6:2a01:170:102f::2]) by mx1.freebsd.org (Postfix) with ESMTP id E6C238FC1D; Tue, 17 Aug 2010 13:12:49 +0000 (UTC) Received: from lurza.secnetix.de (localhost [127.0.0.1]) by lurza.secnetix.de (8.14.3/8.14.3) with ESMTP id o7HDCXoj070740; Tue, 17 Aug 2010 15:12:48 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.14.3/8.14.3/Submit) id o7HDCXuf070739; Tue, 17 Aug 2010 15:12:33 +0200 (CEST) (envelope-from olli) Date: Tue, 17 Aug 2010 15:12:33 +0200 (CEST) Message-Id: <201008171312.o7HDCXuf070739@lurza.secnetix.de> From: Oliver Fromme To: freebsd-bugs@FreeBSD.ORG, bug-followup@FreeBSD.ORG, svdb@stack.nl, arundel@FreeBSD.ORG In-Reply-To: <201008162052.o7GKqS5l042409@freefall.freebsd.org> X-Newsgroups: list.freebsd-bugs User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (FreeBSD/6.4-PRERELEASE-20080904 (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.3.4 (lurza.secnetix.de [127.0.0.1]); Tue, 17 Aug 2010 15:12:48 +0200 (CEST) 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: Tue, 17 Aug 2010 13:12:50 -0000 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