]> git.evergreen-ils.org Git - working/Evergreen.git/commit
In prereq installer, don't try to chown extracted files to original UID/GID
authorLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Tue, 14 Jan 2014 22:11:45 +0000 (17:11 -0500)
committerMike Rylander <mrylander@gmail.com>
Thu, 16 Jan 2014 19:07:40 +0000 (14:07 -0500)
commitd774778854da9fa0f00b66322643a1b3eb7175be
tree7c56d5d919dcb5948063d3c79f3506bc8750adbc
parentf7a049def031246256ddb4ae6d572199f193b36e
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>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/extras/Makefile.install