Module Name:    src
Committed By:   chs
Date:           Mon Dec 12 16:53:30 UTC 2022

Modified Files:
        src/sbin/restore: dirs.c tape.c

Log Message:
apply this commit from FreeBSD:

  commit 9dda00df7e8f9279a43d92758df6a7e10a9aed95
  Author: Chuck Silvers <c...@freebsd.org>
  Date:   Mon Dec 12 08:14:17 2022 -0800

      restore: fix restore of NFS4 ACLs

      Changing the mode bits on a file with an NFS4 ACL results in the
      NFS4 ACL being replaced by one matching the new mode bits being set,
      so when restoring a file with an NFS4 ACL, set the owner/group/mode first
      and then set the NFS4 ACL, so that setting the mode does not throw away
      the ACL that we just set.

      Reviewed by:    mckusick
      Differential Revision:  https://reviews.freebsd.org/D37618


To generate a diff of this commit:
cvs rdiff -u -r1.54 -r1.55 src/sbin/restore/dirs.c
cvs rdiff -u -r1.73 -r1.74 src/sbin/restore/tape.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Reply via email to