Bug 1004327 - New files are not inheriting ACL from parent directory unless "stat-prefetch" is off for the respective gluster volume
Summary: New files are not inheriting ACL from parent directory unless "stat-prefetch"...
Keywords:
Status: CLOSED EOL
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: samba
Version: 2.1
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: ---
: ---
Assignee: Raghavendra Talur
QA Contact: Lalatendu Mohanty
URL:
Whiteboard: gluster
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-04 12:19 UTC by Lalatendu Mohanty
Modified: 2015-12-03 17:20 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-12-03 17:20:23 UTC
Embargoed:


Attachments (Terms of Use)

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.


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