From fc3d525a0c3ccba1f343bbc7329b2231e2e662d1 Mon Sep 17 00:00:00 2001 From: Kurt Zenker Date: Thu, 4 Jun 2009 20:20:11 +0000 Subject: CWS-TOOLING: integrate CWS extmgr02 2009-05-28 09:06:03 +0200 ericb r272377 : #i102274# add a comment 2009-05-28 08:17:04 +0200 dv r272376 : #i102274# Performance optimization for cygwin accidentally removed setting of access rights for all other unix plattforms --- solenv/bin/modules/installer/simplepackage.pm | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/solenv/bin/modules/installer/simplepackage.pm b/solenv/bin/modules/installer/simplepackage.pm index 8bc6d82fe5b4..e43a8325f775 100644 --- a/solenv/bin/modules/installer/simplepackage.pm +++ b/solenv/bin/modules/installer/simplepackage.pm @@ -404,6 +404,15 @@ sub create_simple_package else { installer::systemactions::copy_one_file($source, $destination); + # see issue 102274 + my $unixrights = ""; + if ( $onefile->{'UnixRights'} ) + { + $unixrights = $onefile->{'UnixRights'}; + + my $localcall = "$installer::globals::wrapcmd chmod $unixrights \'$destination\' \>\/dev\/null 2\>\&1"; + system($localcall); + } } } -- cgit