hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Koji Noguchi (JIRA)" <j...@apache.org>
Subject [jira] Created: (HADOOP-3186) Incorrect permission checking on mv
Date Fri, 04 Apr 2008 23:48:24 GMT
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

/data   <dir>           2008-04-04 00:47        rwxr-xr-x       root   users
/data/testdir   <dir>           2008-04-04 23:44        rwxrwxrwx       knoguchi   
/user/knoguchi/test     <dir>           2008-04-04 23:45        rwxrwxrwx       knoguchi

[knoguchi]$  hadoop dfs -mv /user/knoguchi/test /data/testdir
mv: org.apache.hadoop.fs.permission.AccessControlException: Permission denied: user=knoguchi,
access=WRITE, inode="data":roort:users:rwxr-xr-x

Since target directory, /data/testdir, exists, it should not check the permission of the parent

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

View raw message