In prereq installer, don't try to chown extracted files to original UID/GID collab/senator/prereq-tar-opts
authorLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Tue, 14 Jan 2014 22:11:45 +0000 (17:11 -0500)
committerLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Tue, 14 Jan 2014 22:11:45 +0000 (17:11 -0500)
commitf5567d5fed284ea8d8ad7c935c8fdb2170b8ccdc
tree304b2fd19a2e82bdfd4285f73e76ad153a1b21be
parentecbe401dccb9bd621b7b03be8d7e47df46f932b1
In prereq installer, don't try to chown extracted files to original UID/GID

As this Makefile is designed to be used by a make process running as
root, this will avoid problems on some systems when tar extracts
files and tries to give them the same UID/GID as they have in their
archives, but those accounts don't exist on the local system.

e.g, libdbi has files set 1000/1000. On most systems, there's a user
and a group with these IDs, but there can be systems where nothing
uses those IDs, and where tar fails with e.g. 'tar: libdbi-0.8.3:
Cannot change ownership to uid 1000, gid 1000: Invalid argument'

Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Open-ILS/src/extras/Makefile.install