kern/39329: [mount] '..' at mountpoint is subject to the ?permissions of the shadowed dir

Oliver Fromme olli at
Tue Aug 17 13:12:50 UTC 2010

arundel at 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 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:

 > 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

More information about the freebsd-bugs mailing list