hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsz Wo (Nicholas), SZE (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-3186) Incorrect permission checking on mv
Date Mon, 21 Apr 2008 18:27:21 GMT

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

Tsz Wo (Nicholas), SZE commented on HADOOP-3186:
------------------------------------------------

3186_20080418c.patch changes FSDirectory. unprotectedRenameTo(...) but FSEditLog uses it.
 So it failed the tests.  3186_2008042 only changes the permission checking in FSNamesystem.renameToInternal(...).


> 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
>
>
> {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.


Mime
View raw message