You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Mahesh Bandal (Jira)" <ji...@apache.org> on 2024/11/08 16:21:00 UTC

[jira] [Resolved] (RANGER-4980) Delete permissions on directory is denied which has hierarchy of files/directory rooted at the argument passed to the HDFS command

     [ https://issues.apache.org/jira/browse/RANGER-4980?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mahesh Bandal resolved RANGER-4980.
-----------------------------------
    Fix Version/s: 3.0.0
       Resolution: Fixed

> 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: 3.0.0, 2.5.0
>            Reporter: Mahesh Bandal
>            Assignee: Mahesh Bandal
>            Priority: Major
>             Fix For: 3.0.0
>
>
> 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)