summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2009-06-04 20:20:11 +0000
committerKurt Zenker <kz@openoffice.org>2009-06-04 20:20:11 +0000
commitfc3d525a0c3ccba1f343bbc7329b2231e2e662d1 (patch)
tree04e9f9a600f918fc44dd202430c44bd5f7787fad
parent52a833d1538357db8bf9cdc489e63262432b7e92 (diff)
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
-rw-r--r--solenv/bin/modules/installer/simplepackage.pm9
1 files changed, 9 insertions, 0 deletions
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);
+ }
}
}