[ https://issues.apache.org/jira/browse/HDFS-8419?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14547909#comment-14547909 ]
zhouyingchao commented on HDFS-8419: ------------------------------------ @Chris Nauroth > chmod impact user's effective ACL > --------------------------------- > > Key: HDFS-8419 > URL: https://issues.apache.org/jira/browse/HDFS-8419 > Project: Hadoop HDFS > Issue Type: Bug > Components: HDFS > Affects Versions: 2.6.0 > Reporter: zhouyingchao > Assignee: zhouyingchao > > I set a directory's ACL to assign rwx permission to a user h_user1. Later, I > used chmod to change the group permission to r-x. I understand chmod of a acl > enabled file would only change the permission mask. What's make me surprise > is that the operation will change the h_user1's effective ACL from rwx to r-x. > Following are ACLs before any operaton: > ----------------------------------------- > # file: /grptest > # owner: hdfs_tst_admin > # group: supergroup > user::rwx > user:h_user1:rwx > group::r-x > mask::rwx > other::--- > ----------------------------------------- > Following are ACLs after "chmod 750 /grptest" > ----------------------------------------- > # file: /grptest > # owner: hdfs_tst_admin > # group: supergroup > user::rwx > user:hdfs_admin:rwx #effective:r-x > group::r-x > mask::r-x > other::--- > # file: /grptest > # owner: hdfs_tst_admin > # group: supergroup > user::rwx > user:h_user1:rwx #effective:r-x > group::r-x > mask::r-x > other::--- > ----------------------------------------- > I'm wondering if this behavior is by design. If not, I'd like to fix the > issue. Thank you. -- This message was sent by Atlassian JIRA (v6.3.4#6332)