aboutsummaryrefslogtreecommitdiffstats
path: root/main/rsyslog/rsyslog.conf
diff options
context:
space:
mode:
Diffstat (limited to 'main/rsyslog/rsyslog.conf')
-rw-r--r--main/rsyslog/rsyslog.conf7
1 files changed, 7 insertions, 0 deletions
diff --git a/main/rsyslog/rsyslog.conf b/main/rsyslog/rsyslog.conf
index 19187467b3..38d0e4b73a 100644
--- a/main/rsyslog/rsyslog.conf
+++ b/main/rsyslog/rsyslog.conf
@@ -6,6 +6,13 @@ $ModLoad immark.so # provides --MARK-- message capability
$ModLoad imuxsock.so # provides support for local system logging (e.g. via logger command)
$ModLoad imklog.so # kernel logging (formerly provided by rklogd)
+# default permissions for all log files.
+$FileOwner root
+$FileGroup adm
+$FileCreateMode 0640
+$DirCreateMode 0755
+$Umask 0022
+
# Include configuration files from directory
$IncludeConfig /etc/rsyslog.d/*