On 21.02.2010 16:58, Denys Vlasenko wrote: > I moved "strip" call up and added "-p". Please let me know whether > current git is still not good enough for you. The lchown needs to be moved up jiust before the chmod, because setting the owner or group clears suid and sgid bits on several systems.