[ 
https://issues.apache.org/jira/browse/HADOOP-3186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12590994#action_12590994
 ] 

Raghu Angadi commented on HADOOP-3186:
--------------------------------------

+1.

> Incorrect permission checking on  mv
> ------------------------------------
>
>                 Key: HADOOP-3186
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3186
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.16.2
>         Environment: permission turned on
>            Reporter: Koji Noguchi
>            Assignee: Tsz Wo (Nicholas), SZE
>            Priority: Blocker
>             Fix For: 0.17.0
>
>         Attachments: 3186_20080418b.patch, 3186_20080418c.patch, 
> 3186_20080420.patch, 3186_20080420_0.16.patch
>
>
> {noformat}
> /data   <dir>           2008-04-04 00:47        rwxr-xr-x       root   users
> /data/testdir   <dir>           2008-04-04 23:44        rwxrwxrwx       
> knoguchi        users
> /user/knoguchi/test     <dir>           2008-04-04 23:45        rwxrwxrwx     
>   knoguchi        users
> [knoguchi]$  hadoop dfs -mv /user/knoguchi/test /data/testdir
> mv: org.apache.hadoop.fs.permission.AccessControlException: Permission 
> denied: user=knoguchi, access=WRITE, inode="data":root:users:rwxr-xr-x
> {noformat}
> Since target directory, /data/testdir, exists, it should not check the 
> permission of the parent directory

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to