Description of problem: Root of Samba share is unwritable on glusterfs 3.12.14. 3.12.11 is unaffected. However, sub directories are writable. Problem only affects shares using the glusterfs vfs object. Fuse mounted shares are ok. Version-Release number of selected component (if applicable): 3.12.14 samba-4.8.3 to samba-4.8.5 all affected How reproducible: Every time Steps to Reproduce: 1. Create gluster volume 2. Share via samba using "vfs objects = glusterfs" option 3. Create file in root via smb client. Unwritable error. 4. Create subdir of root on gluster client 5. Create file in subdir via smb client. Successful. Actual results: Cannot write files in root of samba share. Expected results: Can create files in root of samba share. Additional info: Rolling back gluster to 3.12.11 resolves issue.
This happened due to [1] going into glusterfs from v3.12.13 and corresponding fix in Samba will be available with the following upcoming releases: v4.8.6 and v4.7.11 [1] http://git.gluster.org/cgit/glusterfs.git/commit/?h=release-3.12&id=f727b47d988066f9c8e123059836fabf2e28db09
This is not a GlusterFS bug. Samba version 4.8.6 is available with the fix addressing the regression caused in GlusterFS.