Commit 6354081c authored by phcyso's avatar phcyso
Browse files

Fix Log folder permission.

If folder owner set to root but rsyslog is running as 'syslog' user then it can not write these files and silently fails.
parent 23608b6b
......@@ -23,8 +23,8 @@ node.set['rsyslog']['server'] = true
include_recipe 'rsyslog::default'
directory node['rsyslog']['log_dir'] do
owner 'root'
group 'root'
owner node['rsyslog']['user'] ? node['rsyslog']['user'] : 'root'
group node['rsyslog']['group'] ? node['rsyslog']['group'] : 'root'
mode '0755'
recursive true
end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment