]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
More cleanup work on permissions restore:
authorkientzle <kientzle@FreeBSD.org>
Sun, 27 Jun 2004 23:27:28 +0000 (23:27 +0000)
committerkientzle <kientzle@FreeBSD.org>
Sun, 27 Jun 2004 23:27:28 +0000 (23:27 +0000)
commitab5ccb718d67cdeea503246228144bdd0066dcd1
treef1e8ec8eb639b9b51d3967c4223be4a9068a83e5
parent36a1ffc19fdb2f673d50d56144bf6e6e177efdc4
More cleanup work on permissions restore:
  * Rename some variables/functions/etc to try to make things clearer.
  * Add separate flags to control fflag/acl restore
  * Collect metadata restore into a single function for clarity
  * Propagate errors in metadata restore back out to the client
  * Fix some places where errors were being returned when they
    shouldn't and vice-versa
  * Modes are now always restored; ARCHIVE_EXTRACT_PERM just controls
    whether or not umask is obeyed.
  * Restore suid/sgid bits only if user/group matches archive
  * Cache the last stat results to try to reduce the number of stat calls
lib/libarchive/archive.h
lib/libarchive/archive.h.in
lib/libarchive/archive_read_extract.c