From c6a8ba7a7c91bc12bb26e6fba81e6964bda35f52 Mon Sep 17 00:00:00 2001 From: cajus Date: Mon, 26 May 2008 07:20:04 +0000 Subject: [PATCH] Made log files 0600 git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10994 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-si/gosa-si-client | 2 +- gosa-si/gosa-si-server | 2 +- gosa-si/gosa-si-server-nobus | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gosa-si/gosa-si-client b/gosa-si/gosa-si-client index cd639b3ca..1bd774cd2 100755 --- a/gosa-si/gosa-si-client +++ b/gosa-si/gosa-si-client @@ -244,7 +244,7 @@ sub daemon_log { if(not defined $msg) { return } if(not defined $level) { $level = 1 } if(defined $log_file){ - open(LOG_HANDLE, ">>$log_file"); + open(LOG_HANDLE, ">>$log_file", 0600); if(not defined open( LOG_HANDLE, ">>$log_file" )) { print STDERR "cannot open $log_file: $!"; return } diff --git a/gosa-si/gosa-si-server b/gosa-si/gosa-si-server index 7c689a322..90c628240 100755 --- a/gosa-si/gosa-si-server +++ b/gosa-si/gosa-si-server @@ -288,7 +288,7 @@ sub daemon_log { if(not defined $msg) { return } if(not defined $level) { $level = 1 } if(defined $log_file){ - open(LOG_HANDLE, ">>$log_file"); + open(LOG_HANDLE, ">>$log_file", 0600); if(not defined open( LOG_HANDLE, ">>$log_file" )) { print STDERR "cannot open $log_file: $!"; return } diff --git a/gosa-si/gosa-si-server-nobus b/gosa-si/gosa-si-server-nobus index 0e177473e..4a3c2fa41 100755 --- a/gosa-si/gosa-si-server-nobus +++ b/gosa-si/gosa-si-server-nobus @@ -314,7 +314,7 @@ sub daemon_log { if(not defined $msg) { return } if(not defined $level) { $level = 1 } if(defined $log_file){ - open(LOG_HANDLE, ">>$log_file"); + open(LOG_HANDLE, ">>$log_file", 0600); if(not defined open( LOG_HANDLE, ">>$log_file" )) { print STDERR "cannot open $log_file: $!"; return } -- 2.30.2