RHEL 6 rsyslog v5 help
As the title infers I am running RHEL 6.4 which utilizes rsyslog v5. I am trying to set the default permissions for the rsyslog created log files to be 0600. Reading the rsyslog web pages I have found that the $umask 0000 and $FileCreateMode directives can be used to accomplish what I want. However, when I place these directives in /etc/rsyslog.conf they do not work and the permisions remain 0640. Here is a sample of my rsyslog.conf file
#### GLOBAL DIRECTIVES ####
# Set default perms for all log files
$umask 0000 #Prevent rsyslog process umask from interfering.
$FileCreateMode 0600 # Set permissions for log files created
# Use default timestamp format
$ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat
# File syncing capability is disabled by default. This feature is usually not required,
# not useful and an extreme performance hit
#$ActionFileEnableSync on
# Include all config files in /etc/rsyslog.d/
$IncludeConfig /etc/rsyslog.d/*.conf
I have tried service rsyslog restart and rebooting the system. The permissions never change. Any help would be greatly appreciated.
Elton