[
https://issues.apache.org/jira/browse/HADOOP-3186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12585854#action_12585854
]
Tsz Wo (Nicholas), SZE commented on HADOOP-3186:
------------------------------------------------
Got a different behavior in truck but the bug is still there.
{noformat}
/user/tsz/koji <dir> 2008-04-04 17:14 rwxr-xr-x nn_sze
supergroup
/user/tsz/koji/k <dir> 2008-04-04 17:11 rwxr-xr-x
tsz supergroup
/user/tsz/koji/k/test <dir> 2008-04-04 17:11 rwxr-xr-x
tsz supergroup
/user/tsz/koji/testdir <dir> 2008-04-04 17:14 rwxr-xr-x
tsz supergroup
bash-3.2$ ./bin/hadoop dfs -mv koji/k/test koji/testdir
mv: null
{noformat}
> 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
>
> {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.