[Bugs] [Bug 1501029] New: setting storage.owner-gid should also change the mode to have setgid

bugzilla at redhat.com bugzilla at redhat.com
Thu Oct 12 05:14:24 UTC 2017


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

            Bug ID: 1501029
           Summary: setting storage.owner-gid should also change the mode
                    to have setgid
           Product: GlusterFS
           Version: mainline
         Component: posix
          Assignee: bugs at gluster.org
          Reporter: rtalur at redhat.com
                CC: bugs at gluster.org



Description of problem:

When storage.owner-uid and storage.owner-gid options are used, the
    expectation is that all the dirs created in the volume should allow
    every member of the group to write. However, that is not possible
    without this patch. Here is an example

    1. say we have a group writegroup
    2. we have user1 and user2 in the group
    3. create a volume by providing writegroup's gid as storage.owner-gid
    4. as user1, create files and dirs in the volume, it works
    5. as user2, creates files and dirs in the root of the volume, it works
    6. as user2, create files and dirs in the dirs created by user1 in step 4,
       it fails with permission denied although it should succeed.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list