Date: Sun, 27 Jun 2004 23:27:28 +0000 (UTC) From: Tim Kientzle <kientzle@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libarchive archive.h archive_read_extract.c Message-ID: <200406272327.i5RNRS3N024851@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kientzle 2004-06-27 23:27:28 UTC
FreeBSD src repository
Modified files:
lib/libarchive archive.h archive_read_extract.c
Log:
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
Revision Changes Path
1.14 +2 -0 src/lib/libarchive/archive.h
1.25 +200 -179 src/lib/libarchive/archive_read_extract.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200406272327.i5RNRS3N024851>
