Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-5035

getFileLinkStatus and rename do not correctly check permissions of symlinks

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.0-beta, 3.0.0-alpha1
    • Fix Version/s: 2.3.0
    • Component/s: namenode
    • Labels:
      None
    • Target Version/s:

      Description

      Operations like getFileLinkStatus and rename operate on symlinks, not symlink targets. However, permission checks right now are being done on the symlink target, resulting in wonky behavior.

      This is similar to HDFS-4765, which fixed the same problem for delete.

        Attachments

        1. hdfs-5035-1.patch
          16 kB
          Andrew Wang
        2. hdfs-5035-2.patch
          17 kB
          Andrew Wang
        3. hdfs-5035-branch-2-1.patch
          17 kB
          Andrew Wang

          Activity

            People

            • Assignee:
              andrew.wang Andrew Wang
              Reporter:
              andrew.wang Andrew Wang
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: