summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
+ }
}
}