Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Aug 2010 13:20:05 GMT
From:      Oliver Fromme <olli@lurza.secnetix.de>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/39329: [mount] '..' at mountpoint is subject to the ?permissions of the shadowed dir
Message-ID:  <201008171320.o7HDK5qo040189@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: Oliver Fromme <olli@lurza.secnetix.de>
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



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