Bug 762272 (GLUSTER-540) - permission denied error on nfs/cifs mountpoints
Summary: permission denied error on nfs/cifs mountpoints
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: GLUSTER-540
Product: GlusterSP
Classification: Retired
Component: core
Version: unspecified
Hardware: All
OS: Linux
low
high
Target Milestone: 3.0.1
Assignee: Balamurugan Arumugam
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-01-13 02:30 UTC by Amar Tumballi
Modified: 2013-12-19 00:03 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.