
When using a strip that uses a temp file and moves that to the target, unlinking the original, install would set the modes of the original (now unlinked) file, not the new stripped one. Fixed by re-opening the fd used for fchown/chmod after stripping.