Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-2006 ability to support storing extended attributes per file
  3. HDFS-6374

setXAttr should require the user to be the owner of the file or directory

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: HDFS XAttrs (HDFS-2006)
    • Fix Version/s: HDFS XAttrs (HDFS-2006)
    • Component/s: namenode
    • Labels:
      None

      Description

      From the attr(5) manpage:

             For  this reason, extended user attributes are only allowed for regular
             files and directories,  and  access  to  extended  user  attributes  is
             restricted  to the owner and to users with appropriate capabilities for
             directories with the sticky bit set (see the chmod(1) manual  page  for
             an explanation of Sticky Directories).
      

        Attachments

        1. HDFS-6374.1.patch
          2 kB
          Charles Lamb
        2. HDFS-6374.2.patch
          1 kB
          Charles Lamb
        3. HDFS-6374.3.patch
          8 kB
          Charles Lamb

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: