Bug 762272 (GLUSTER-540)

Summary: permission denied error on nfs/cifs mountpoints
Product: [Retired] GlusterSP Reporter: Amar Tumballi <amarts>
Component: coreAssignee: Balamurugan Arumugam <bala>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: low    
Version: unspecifiedCC: fharshav, platform, vraman, webteam
Target Milestone: 3.0.1   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Amar Tumballi 2010-01-13 02:30:45 UTC
Noticed that the permissions of export directories in storage platform is '0755' instead of '0777'. When a volume is created, need to create the export directory with '0777'.

------------

[gluster@gluster001 mirror]$ ls -l /exports/sdb*
/exports/sdb1:
total 40
drwxr-xr-x 2 root root  4096 Jan 13 02:26 ingest
drwxr-xr-x 2 root root  4096 Jan 12 19:26 library
drwx------ 2 root root 16384 Jan  9 02:44 lost+found
drwxr-xr-x 2 root root  4096 Jan  9 23:12 mirror

/exports/sdb2:
total 40
drwxr-xr-x 2 root root  4096 Jan 13 02:26 ingest
drwxr-xr-x 2 root root  4096 Jan 12 19:26 library
drwx------ 2 root root 16384 Jan  9 22:52 lost+found
drwxr-xr-x 2 root root  4096 Jan  9 23:12 mirror

/exports/sdb3:
total 40
drwxr-xr-x 2 root root  4096 Jan 13 02:26 ingest
drwxr-xr-x 2 root root  4096 Jan 12 19:26 library
drwx------ 2 root root 16384 Jan  9 06:09 lost+found
drwxr-xr-x 2 root root  4096 Jan  9 23:12 mirror

----------------------

Comment 1 Balamurugan Arumugam 2010-01-15 09:39:36 UTC
This is expected behavior.  Admin should create separate directories with appropriate permissions for users in volumes.

Comment 2 Harshavardhana 2010-01-23 00:37:36 UTC
I would like to know why would we need to have 777 for backend directories?. We are able to mount with NFS and CIFS with respective userid and create files. Need to know about permission denied errors as 777 backend directories is not required. If its not the case this issue can be resolved as invalid.