Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-3186

Incorrect permission checking on mv

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 0.16.2
    • 0.16.4
    • None
    • None
    • permission turned on

    • Reviewed

    Description

      /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
      

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

      Attachments

        1. 3186_20080418b.patch
          7 kB
          Tsz-wo Sze
        2. 3186_20080418c.patch
          8 kB
          Tsz-wo Sze
        3. 3186_20080420.patch
          8 kB
          Tsz-wo Sze
        4. 3186_20080420_0.16.patch
          8 kB
          Tsz-wo Sze
        5. 3186_20080429_0.16.patch
          8 kB
          Tsz-wo Sze

        Activity

          People

            szetszwo Tsz-wo Sze
            knoguchi Koji Noguchi
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: