[Bugs] [Bug 1403612] New: With NFS root-squash the other x-bit has to be set to make dirs
bugzilla at redhat.com
bugzilla at redhat.com
Sun Dec 11 22:27:29 UTC 2016
https://bugzilla.redhat.com/show_bug.cgi?id=1403612
Bug ID: 1403612
Summary: With NFS root-squash the other x-bit has to be set to
make dirs
Product: GlusterFS
Version: 3.7.17
Component: nfs
Severity: high
Assignee: bugs at gluster.org
Reporter: happe at nbi.dk
CC: bugs at gluster.org
Description of problem:
Using NFS client and server.root-squash=on, directory creation is not allowed
unless the others x-bit is set (chmod o+x). With the FUSE client it works as
expected.
Version-Release number of selected component (if applicable):
CentOS 6.8 (client and server).
GlusterFS from SIG.
3.7.13 did not have this problem.
How reproducible:
Every time.
Steps to Reproduce:
1. Set server.root-squash to on.
2. Mount with NFS client.
3. Create dir without other x-bit (chmod o-x).
4. Try to create another dir in the dir => Not permitted.
Actual results:
[hhh at client foo]$ ls -la
total 8
drwxr-x--- 2 hhh others 4096 Dec 11 23:00 .
drwxrwx--x 3 hhh others 4096 Dec 11 22:56 ..
[hhh at client foo]$ mkdir bar
mkdir: cannot create directory `bar': Permission denied
Expected results:
[hhh at client foo]$ mkdir bar
[hhh at client foo]$ ls -l
total 4
drwxr-xr-x 2 hhh others 4096 Dec 11 23:22 bar
Additional info:
It is possible to create files.
When server.root-squash is off it works.
FUSE client works.
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
More information about the Bugs
mailing list