[Bugs] [Bug 1468291] NFS Sub directory is getting mounted on solaris 10 even when the permission is restricted in nfs.export-dir volume option

bugzilla at redhat.com bugzilla at redhat.com
Tue Aug 1 05:11:52 UTC 2017


https://bugzilla.redhat.com/show_bug.cgi?id=1468291



--- Comment #12 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/17898 committed in master by jiffin tony
Thottan (jthottan at redhat.com) 
------
commit 45c973576d6356dbe4da897e9f0528eac7529d48
Author: Niels de Vos <ndevos at redhat.com>
Date:   Tue Jul 25 09:25:53 2017 +0200

    nfs: use "/" as subdir for volume mounts

    For cases where subdir mounting is checked, it makes it much easier to
    return a subdir of "/" in case no subdir is passed. This reduces the
    number of corner cases where permissions are checked for subdir mounts,
    but not for volume mounts (or the other way around).

    The problem was identified by WebNFS mounting a volume, which got denied
    after commit e3f48fa2. Handling this would require an exception for
    non-subdir mounts, or make non-subdir mounts equal to subdir mounts.
    This change takes the 2nd approach.

    Change-Id: I0d810ae90b267a2cc3eac8d55368a0f1b0787f6a
    Fixes: e3f48fa2 ("nfs: add permission checking for mounting over WebNFS")
    BUG: 1468291
    Signed-off-by: Niels de Vos <ndevos at redhat.com>
    Reviewed-on: https://review.gluster.org/17898
    Smoke: Gluster Build System <jenkins at build.gluster.org>
    Reviewed-by: soumya k <skoduri at redhat.com>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
    Reviewed-by: jiffin tony Thottan <jthottan at redhat.com>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=18idsKXbvs&a=cc_unsubscribe


More information about the Bugs mailing list