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

Hanisha Koneru commented on HDFS-12212:
---------------------------------------

Thanks for the fix [~vinayrpet].
LGTM. +1 (non-binding).

> 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
>            Reporter: Vinayakumar B
>            Assignee: Vinayakumar B
>         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
(v6.4.14#64029)

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

Reply via email to