Hide Forgot
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 ----------------------
This is expected behavior. Admin should create separate directories with appropriate permissions for users in volumes.
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.