Hadoop Common
  1. Hadoop Common
  2. HADOOP-10277

setfacl -x fails to parse ACL spec if trying to remove the mask entry.

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: HDFS ACLs (HDFS-4685)
    • Fix Version/s: HDFS ACLs (HDFS-4685)
    • Component/s: fs
    • Labels:
      None

      Description

      You should be able to use setfacl -x to remove the mask entry (if also removing all other extended ACL entries). Right now, this causes a failure to parse the ACL spec due to a bug in AclEntry#parseAclSpec.

      1. HADOOP-10277.patch
        8 kB
        Vinayakumar B
      2. HADOOP-10277.1.patch
        5 kB
        Chris Nauroth

        Issue Links

          Activity

          Chris Nauroth made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Hadoop Flags Reviewed [ 10343 ]
          Fix Version/s HDFS ACLs (HDFS-4685) [ 12325672 ]
          Resolution Fixed [ 1 ]
          Vinayakumar B made changes -
          Assignee Chris Nauroth [ cnauroth ] Vinay [ vinayrpet ]
          Vinayakumar B made changes -
          Attachment HADOOP-10277.patch [ 12625323 ]
          Chris Nauroth made changes -
          Description You should be able to use setfacl -x to remove the mask entry (which then triggers recalculation of an automatically inferred mask if the file has an extended ACL). Right now, this causes a failure to parse the ACL spec due to a bug in {{AclEntry#parseAclSpec}}. You should be able to use setfacl -x to remove the mask entry (if also removing all other extended ACL entries). Right now, this causes a failure to parse the ACL spec due to a bug in {{AclEntry#parseAclSpec}}.
          Chris Nauroth made changes -
          Attachment HADOOP-10277.1.patch [ 12625278 ]
          Chris Nauroth made changes -
          Link This issue relates to HADOOP-10184 [ HADOOP-10184 ]
          Chris Nauroth made changes -
          Field Original Value New Value
          Link This issue relates to HADOOP-10187 [ HADOOP-10187 ]
          Chris Nauroth created issue -

            People

            • Assignee:
              Vinayakumar B
              Reporter:
              Chris Nauroth
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development