Description of problem: Creation of directories failed in samba share when mounted using non-root user for distribute disperse volume. Version-Release number of selected component (if applicable): samba-4.11.6-104.el7rhgs.x86_64 glusterfs-6.0-30.1.el7rhgs.x86_64 How reproducible: Always Steps to Reproduce: 1. Create distribute-disperse volume 2. Do a cifs mount using the volume with non-root user 3. Try to create a directory in the share Actual results: create fails Expected results: create should succeed Additional info: error message: mkdir: cannot create directory ‘/mnt/dist-cifs/vicky-fuse/test-non’: Permission denied [2020-03-20 06:45:58.989471] E [MSGID: 122075] [ec-code.c:425:ec_code_space_create] 0-vicky-disperse-1: Unable to create a temporary file for the ec dynamic code [Permission denied] [2020-03-20 06:45:58.990498] I [MSGID: 122068] [ec-code.c:1052:ec_code_detect] 0-vicky-disperse-0: Using 'sse' CPU extensions [2020-03-20 06:45:58.990554] E [MSGID: 122075] [ec-code.c:425:ec_code_space_create] 0-vicky-disperse-0: Unable to create a temporary file for the ec dynamic code [Permission denied] Note: This issue is not seen in other volume type. This is not a regression. Volume Name: vicky Type: Distributed-Disperse Volume ID: 01edb3a0-df04-435e-97b5-106c15ea0b63 Status: Started Snapshot Count: 0 Number of Bricks: 2 x (2 + 1) = 6 Transport-type: tcp Bricks: Brick1: 10.70.43.181:/bricks/brick1/vicky Brick2: 10.70.43.185:/bricks/brick1/vicky Brick3: 10.70.43.189:/bricks/brick1/vicky Brick4: 10.70.43.178:/bricks/brick2/vicky Brick5: 10.70.43.181:/bricks/brick2/vicky Brick6: 10.70.43.185:/bricks/brick2/vicky Options Reconfigured: user.cifs: enable performance.parallel-readdir: on performance.readdir-ahead: on performance.nl-cache-timeout: 600 performance.nl-cache: on network.inode-lru-limit: 200000 performance.md-cache-timeout: 600 performance.cache-invalidation: on performance.stat-prefetch: on performance.cache-samba-metadata: on features.cache-invalidation-timeout: 600 features.cache-invalidation: on transport.address-family: inet storage.fips-mode-rchecksum: on nfs.disable: on
*** Bug 1815432 has been marked as a duplicate of this bug. ***
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (glusterfs bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:5603