From owner-freebsd-fs@freebsd.org Fri Sep 18 23:49:01 2015 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9A02E9D0C39 for ; Fri, 18 Sep 2015 23:49:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 863FF18FC for ; Fri, 18 Sep 2015 23:49:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id t8INn1xf086913 for ; Fri, 18 Sep 2015 23:49:01 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-fs@FreeBSD.org Subject: [Bug 203185] mountd is exposing parent directories [on zfs mount?] that it should not be Date: Fri, 18 Sep 2015 23:49:01 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: rmacklem@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-fs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Sep 2015 23:49:01 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203185 Rick Macklem changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |In Progress --- Comment #2 from Rick Macklem --- The -alldirs flag allows all directories within the file system to be mounted. If the directory specified in the path isn't the root of the file system, then that will include directory paths above the directory. Note that "showmount" uses the Mount protocol and there is no way to express "-alldirs" for it, so showmount can only show the path in the /etc/exports line. Here is the snippet from "man exports": The second is to specify the pathname of the root of the file system fol- lowed by the -alldir flag; this form allows the host(s) to mount at any point within the file system, including regular files if the -r option is used on mountd(8). Although the man pages says "root of the file system", mountd does not enforce this. I am assuming that /home/ngie is the same file system as /home/ngie/XXX. Please close this bug unless you still feel that mountd is not providing the semantics expressed in "man exports" above. -- You are receiving this mail because: You are the assignee for the bug.