[Bugs] [Bug 1468291] New: 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
Thu Jul 6 15:13:39 UTC 2017


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

            Bug ID: 1468291
           Summary: NFS Sub directory is getting mounted on solaris 10
                    even when the permission is restricted in
                    nfs.export-dir volume option
           Product: GlusterFS
           Version: mainline
         Component: nfs
          Severity: urgent
          Priority: urgent
          Assignee: ndevos at redhat.com
          Reporter: ndevos at redhat.com
                CC: bugs at gluster.org
            Blocks: 1451224



Description of problem:

NFS Sub directory is getting mounted on solaris 10 even when the permission is
restricted to some clients only in nfs.export-dir volume option   


Version-Release number of selected component (if applicable):
mainline

How reproducible:
Consistently

Steps to Reproduce:

1.Create a 6*2 Distributed-Replicate volume.Enable GNFS on it.
2.Mount the volume to solaris client via v3 and create a directory inside the
mount.

# mount -o proto=tcp,vers=3 nfs://svr.example.net:/GNFSVolume/ /mnt/solmount
# mkdir mani

3.Unmount the volume.
4.Provide permission to export subdirectory mani to some client only (which is
other client,not solaris client)

# gluster v set GNFSVolume nfs.export-dir "/mani(10.70.37.142)"
volume set: success

# gluster v get GNFSVolume all | grep export
nfs.export-dirs                         on                                      
nfs.export-volumes                      on                                      
nfs.export-dir                          /mani(10.70.37.142)                     
nfs.exports-auth-enable                 (null)           

5. Mount the subdirectory mani to solaris client.

Actual results:
Mount was successful even when the client does not have that subdirectory mount
permission.

# mount -o proto=tcp,vers=3 nfs://svr.example.net:/GNFSVolume/mani
/mnt/solmount
# cd /mnt/solmount
# ls
ms
# mkdir dir1
# ls
dir1         ms


Expected results:
subdirectory Mount should fail on solaris client when it doesnot have
permission to mount for that client.

Additional info:


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1451224
[Bug 1451224] [GNFS] NFS Sub directory is getting mounted on solaris 10
even when the permission is restricted in nfs.export-dir volume option
-- 
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=dABAivQrK0&a=cc_unsubscribe


More information about the Bugs mailing list