summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2007-04-02 11:21:47 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2007-04-02 11:21:47 +0000
commit6b406664385ff005e2573752f87c1540396278ef (patch)
tree719dd68b4970d4125b3cdffe0ac36067c75ee001 /solenv
parent299dafde05764c70b1eafc64c7be3ac487b7372e (diff)
INTEGRATION: CWS native80 (1.62.6); FILE MERGED
2007/03/07 10:45:25 is 1.62.6.1: #145754# unix rights 775 for dirs in packages
Diffstat (limited to 'solenv')
-rw-r--r--solenv/bin/modules/installer/epmfile.pm26
1 files changed, 24 insertions, 2 deletions
diff --git a/solenv/bin/modules/installer/epmfile.pm b/solenv/bin/modules/installer/epmfile.pm
index f817c85c9d58..655045d1b552 100644
--- a/solenv/bin/modules/installer/epmfile.pm
+++ b/solenv/bin/modules/installer/epmfile.pm
@@ -4,9 +4,9 @@
#
# $RCSfile: epmfile.pm,v $
#
-# $Revision: 1.62 $
+# $Revision: 1.63 $
#
-# last change: $Author: rt $ $Date: 2007-02-19 13:48:21 $
+# last change: $Author: rt $ $Date: 2007-04-02 12:21:47 $
#
# The Contents of this file are made available subject to
# the terms of GNU Lesser General Public License Version 2.1.
@@ -1872,6 +1872,28 @@ sub create_packages_without_epm
$systemcall = "cd $destinationdir; cp -p -R $packagename $installer::globals::saved_packages_path;";
make_systemcall($systemcall);
installer::logger::print_message( "... $systemcall ...\n" );
+
+ # Setting unix rights to "775" for all created directories inside the package,
+ # that is saved in temp directory
+
+ $systemcall = "cd $packagestempdir; find $packagename -type d -exec chmod 775 \{\} \\\;";
+ installer::logger::print_message( "... $systemcall ...\n" );
+
+ $returnvalue = system($systemcall);
+
+ $infoline = "Systemcall: $systemcall\n";
+ push( @installer::globals::logfileinfo, $infoline);
+
+ if ($returnvalue)
+ {
+ $infoline = "ERROR: Could not execute \"$systemcall\"!\n";
+ push( @installer::globals::logfileinfo, $infoline);
+ }
+ else
+ {
+ $infoline = "Success: Executed \"$systemcall\" successfully!\n";
+ push( @installer::globals::logfileinfo, $infoline);
+ }
}
}