Code

- Added mode to create mkpath for /var/lib/gosa-si
authoropensides <opensides@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 24 May 2010 08:25:33 +0000 (08:25 +0000)
committeropensides <opensides@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 24 May 2010 08:25:33 +0000 (08:25 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18638 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-si/gosa-si-server

index cd7c4bcb0ecf59721359c9a2f1ede5fa261eddad..9d92dc9971e4d9fe7c5f66a4cce57c8c4eca45d4 100755 (executable)
@@ -3638,7 +3638,7 @@ if( defined $dump_config ) {
 &open_log($root_uid, $adm_gid, $log_file);
 
 # prepare directory for databases
-mkpath('/var/lib/gosa-si', 0, {owner=>'root', group=>'root'});
+mkpath('/var/lib/gosa-si', 0, {owner=>'root', group=>'root', mode=> '0755'});
 
 # remove leftover files in tmp for packaged.db populate
 rmtree( '/tmp/packages_list_db',0,1);