You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Vinay (JIRA)" <ji...@apache.org> on 2014/01/24 13:52:39 UTC

[jira] [Created] (HDFS-5827) Children are not inheriting parent's default ACLs

Vinay created HDFS-5827:
---------------------------

             Summary: Children are not inheriting parent's default ACLs
                 Key: HDFS-5827
                 URL: https://issues.apache.org/jira/browse/HDFS-5827
             Project: Hadoop HDFS
          Issue Type: Bug
            Reporter: Vinay


Children are not inheriting the parent's default ACLs on creation.

Following is the ACLs on parent and child in HDFS
{noformat}# file: /dir1
# owner: vinay
# group: supergroup
user::rwx
mask::r-x
other::r-x
default:user::rwx
default:user:charlie:r-x
default:group::r-x
default:group:admin:rwx
default:mask::rwx
default:other::r-x

# file: /dir1/dir2
# owner: vinay
# group: supergroup
user::rwx
group::r-x
other::r-x

# file: /dir1/file
# owner: vinay
# group: supergroup
user::rw-
group::r--
other::r--{noformat}


Following is the output in linux ACL
# file: testAcl
# owner: vinay
# group: users
user::rwx
user:vinay:r--
group::r-x
group:users:r-x
mask::r-x
other::r-x
default:user::rwx
default:user:vinay:r-x
default:group::r-x
default:group:users:rwx
default:mask::rwx
default:other::r-x

# file: testAcl/hello
# owner: vinay
# group: users
user::rw-
user:vinay:r-x                  #effective:r--
group::r-x                      #effective:r--
group:users:rwx                 #effective:rw-
mask::rw-
other::r--
{noformat}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)