Mahesh Bandal created RANGER-4980:
-------------------------------------

             Summary: Delete permissions on directory is denied which has 
hierarchy of files/directory rooted at the argument passed to the HDFS command
                 Key: RANGER-4980
                 URL: https://issues.apache.org/jira/browse/RANGER-4980
             Project: Ranger
          Issue Type: Bug
          Components: Ranger
    Affects Versions: 2.5.0, 3.0.0
            Reporter: Mahesh Bandal
            Assignee: Mahesh Bandal


when chained plugin is enabled and all access is provided to a directory which 
has multiple files and directories under it and if a user tries to delete a 
that directory then access is denied.
Steps to repro:
* create a policy which will grant all access to systest user on a directory.
* Try performing write access. It should allow.
* hdfs dfs -mkdir /user/data/part_default1/state=98/dir1
* Now, remove default ACL's on hdfs path
* hdfs dfs -chmod -R +000 /user/data/part_default1/
* Now, try delete operation. Access will be denied.
* hdfs dfs -rm -r -skipTrash /user/data/part_default1/state=98




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to