[ 
https://issues.apache.org/jira/browse/HDFS-12212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16919155#comment-16919155
 ] 

Ayush Saxena commented on HDFS-12212:
-------------------------------------

Committed to trunk, branch-3.2 and branch-3.1
Thanx [~vinayakumarb] for the contribution!!!

> Options.Rename.To_TRASH is considered even when Options.Rename.NONE is 
> specified
> --------------------------------------------------------------------------------
>
>                 Key: HDFS-12212
>                 URL: https://issues.apache.org/jira/browse/HDFS-12212
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: namenode
>    Affects Versions: 2.9.0, 2.7.4, 3.0.0-alpha1, 2.8.2
>            Reporter: Vinayakumar B
>            Assignee: Vinayakumar B
>            Priority: Major
>         Attachments: HDFS-12212-01.patch
>
>
> HDFS-8312 introduced {{Options.Rename.TO_TRASH}} to differentiate the 
> movement to trash and other renames for permission checks.
> When Options.Rename.NONE is passed also TO_TRASH is considered for rename and 
> wrong permissions are checked for rename.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to