Heba Aboulmagd created HDFS-15615:
-------------------------------------

             Summary: HDFS user permission does not work correctly
                 Key: HDFS-15615
                 URL: https://issues.apache.org/jira/browse/HDFS-15615
             Project: Hadoop HDFS
          Issue Type: Bug
            Reporter: Heba Aboulmagd


HDFS users can create/delete folders for each other, while the permission is 
set to {{745}} on {{/user/username}}.

I used the following commands to create users and set their permissions
 {{useradd -m -g hdfs username}}
{{su hdfs}}
{{hdfs dfs -mkdir -p /user/username}}
{{hdfs dfs -chown username:hdfs /user/username}}
{{hdfs dfs -chmod 745 /user/username}}
when {{user1}} executes: {{hdfs dfs -mkdir /user/user2/from_user1}}
 {{The directory is created successfully}}
The same happens when {{user1}} tries to delete files from {{/user/user2}} 
while the permission is set to read only for the users in the same group.g



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org

Reply via email to