Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-16443

Improve help text for setfacl --set option

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.3.0
    • Fix Version/s: 3.2.1
    • Component/s: fs
    • Labels:
      None
    • Target Version/s:

      Description

      The help text associated with the command "setfacl --set" states:

       --set       Fully replace the ACL, discarding all existing entries. The        
                    <acl_spec> must include entries for user, group, and others for    
                    compatibility with permission bits.               

      However the actual behaviour is a bit more subtle:

      If the ACL spec contains only access entries, then the existing default entries are retained. If the ACL spec contains only default entries, then the existing access entries are retained. If the ACL spec contains both access and default entries, then both are replaced.

      This Jira will improve the help text to more align with the expected behaviour.

        Attachments

        1. HADOOP-16443.001.patch
          3 kB
          Stephen O'Donnell

          Issue Links

            Activity

              People

              • Assignee:
                sodonnell Stephen O'Donnell
                Reporter:
                sodonnell Stephen O'Donnell
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: