Bug 1815432

Summary: [samba-disperse] unable to create files in samba share with non-root user for distribute disperse volume
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Vivek Das <vdas>
Component: sambaAssignee: Guenther Deschner <gdeschner>
Status: CLOSED DUPLICATE QA Contact: Vivek Das <vdas>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rhgs-3.5CC: rhs-smb
Target Milestone: ---Keywords: ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-20 10:19:46 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Vivek Das 2020-03-20 09:25:48 UTC
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.

Comment 1 Vivek Das 2020-03-20 10:19:46 UTC

*** This bug has been marked as a duplicate of bug 1815434 ***