Bug 1004327

Summary: New files are not inheriting ACL from parent directory unless "stat-prefetch" is off for the respective gluster volume
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Lalatendu Mohanty <lmohanty>
Component: sambaAssignee: Raghavendra Talur <rtalur>
Status: CLOSED EOL QA Contact: Lalatendu Mohanty <lmohanty>
Severity: medium Docs Contact:
Priority: high    
Version: 2.1CC: dpal, jbyers, poelstra, rjoseph, rtalur, sbhaloth, surs, vagarwal, zab
Target Milestone: ---Keywords: ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: gluster
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-12-03 17:20:23 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Lalatendu Mohanty 2013-09-04 12:19:29 UTC
Description of problem:

New files are not inheriting ACL from parent directory unless "stat-prefetch" is off for the respective gluster volume.

Version-Release number of selected component (if applicable):

[root@dhcp159-136 bricks]# rpm -qa | grep samba
samba-doc-3.6.9-160.3.el6rhs.x86_64
samba-debuginfo-3.6.9-160.3.el6rhs.x86_64
samba-winbind-3.6.9-160.3.el6rhs.x86_64
samba-glusterfs-3.6.9-160.3.el6rhs.x86_64
samba-swat-3.6.9-160.3.el6rhs.x86_64
samba-winbind-krb5-locator-3.6.9-160.3.el6rhs.x86_64
samba-domainjoin-gui-3.6.9-160.3.el6rhs.x86_64
samba-common-3.6.9-160.3.el6rhs.x86_64
samba-3.6.9-160.3.el6rhs.x86_64
samba-client-3.6.9-160.3.el6rhs.x86_64
samba-winbind-devel-3.6.9-160.3.el6rhs.x86_64
samba4-libs-4.0.0-55.el6.rc4.x86_64
samba-winbind-clients-3.6.9-160.3.el6rhs.x86_64


[root@dhcp159-136 bricks]# rpm -qa | grep gluster
glusterfs-geo-replication-3.4.0.30rhs-2.el6rhs.x86_64
samba-glusterfs-3.6.9-160.3.el6rhs.x86_64
gluster-swift-container-1.8.0-6.11.el6rhs.noarch
glusterfs-libs-3.4.0.30rhs-2.el6rhs.x86_64
glusterfs-debuginfo-3.4.0.30rhs-2.el6rhs.x86_64
glusterfs-3.4.0.30rhs-2.el6rhs.x86_64
glusterfs-server-3.4.0.30rhs-2.el6rhs.x86_64
gluster-swift-proxy-1.8.0-6.11.el6rhs.noarch
gluster-swift-account-1.8.0-6.11.el6rhs.noarch
glusterfs-rdma-3.4.0.30rhs-2.el6rhs.x86_64
gluster-swift-plugin-1.8.0-6.el6rhs.noarch
vdsm-gluster-4.10.2-23.0.1.el6rhs.noarch
glusterfs-api-3.4.0.30rhs-2.el6rhs.x86_64
gluster-swift-1.8.0-6.11.el6rhs.noarch
glusterfs-fuse-3.4.0.30rhs-2.el6rhs.x86_64
gluster-swift-object-1.8.0-6.11.el6rhs.noarch

How reproducible:

Always

Steps to Reproduce:
1.Create a gluster volume, start the volume.
2. do volume set "server.allow-insecure: on" for the volume and put "option rpc-auth-allow-insecure on" in "/etc/glusterfs/glusterd.vol" for all nodes
3. mount the samba share on a window7 client
5. create a directory, give a AD user group full control on this folder.
6. Create files in side the directory.
7. Check the ACL of these files.

Actual results:

On the newly created files I am only seeing/getting read permission for the user group which I set on parent directory in step-5

Expected results:

The newly created files should have inherited all ACL (e.g: write) from parent directory

Additional info:

After doing "stat-prefetch off" for the volume, ACL inheritance is working as expected.

Comment 2 Vivek Agarwal 2013-09-06 06:05:06 UTC
Per discussion with Sayan, need to document the setting "stat-prefetch is off"

Comment 3 Vivek Agarwal 2015-12-03 17:20:23 UTC
Thank you for submitting this issue for consideration in Red Hat Gluster Storage. The release for which you requested us to review, is now End of Life. Please See https://access.redhat.com/support/policy/updates/rhs/

If you can reproduce this bug against a currently maintained version of Red Hat Gluster Storage, please feel free to file a new report against the current release.