Code

update: log file permission changed to 640
authorrettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 11 Sep 2008 14:24:05 +0000 (14:24 +0000)
committerrettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 11 Sep 2008 14:24:05 +0000 (14:24 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12433 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-si/gosa-si-server

index e274bf58cdc68d4492748e757b9a6900a28df885..3936bbf5027c467ba5749fef65d8c385264b857c 100755 (executable)
@@ -314,7 +314,7 @@ sub daemon_log {
     if(not defined $level) { $level = 1 }
     if(defined $log_file){
         open(LOG_HANDLE, ">>$log_file");
-        chmod 0600, $log_file;
+        chmod 0640, $log_file;
         if(not defined open( LOG_HANDLE, ">>$log_file" )) {
             print STDERR "cannot open $log_file: $!";
             return