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

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • HDFS XAttrs (HDFS-2006)
    • HDFS XAttrs (HDFS-2006)
    • namenode
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: