]> git.evergreen-ils.org Git - 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:09:37 +0000 (14:09 -0500)
commit089c65fd9302641de0ad37fb48dd8106aff3a33c
treecd2244b8bdb5571f2add6521e1b8023b509731d1
parentfbd131596284ae375aa13e2ff14480cb8b6e791b
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