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

getFileLinkStatus and rename do not correctly check permissions of symlinks

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.0-beta, 3.0.0-alpha1
    • 2.3.0
    • namenode
    • None

    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment