[
https://issues.apache.org/jira/browse/HDFS-8419?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tsz Wo Nicholas Sze updated HDFS-8419:
--------------------------------------
Component/s: (was: HDFS)
fs
> 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: fs
> Affects Versions: 2.6.0
> Reporter: zhouyingchao
> Assignee: zhouyingchao
>
> I set a directory's ACL to assign rwx permission to user h_user1. Later, I
> used chmod to change the group permission to r-x. I understand chmod of an
> acl enabled file would only change the permission mask. The abnormal thing 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: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)