aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJackie Huang <jackie.huang@windriver.com>2015-01-20 16:21:49 +0800
committerMartin Jansa <Martin.Jansa@gmail.com>2015-01-28 09:52:51 +0100
commit9b2fde424709828d3f42dd15d5b7595099642ea0 (patch)
tree83d8afb8c729c9ad4bf026908dacf66598e87d73
parenta433accf63eaaa3f0ffbb1a7346d90f5357b207f (diff)
downloadmeta-openembedded-contrib-9b2fde424709828d3f42dd15d5b7595099642ea0.tar.gz
meta-openembedded-contrib-9b2fde424709828d3f42dd15d5b7595099642ea0.tar.bz2
meta-openembedded-contrib-9b2fde424709828d3f42dd15d5b7595099642ea0.zip
rsyslog: set the default file permission
We use the default file permission root:adm for syslog-ng, so set the same for rsyslog. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r--meta-oe/recipes-extended/rsyslog/rsyslog/rsyslog.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/rsyslog/rsyslog/rsyslog.conf b/meta-oe/recipes-extended/rsyslog/rsyslog/rsyslog.conf
index 54f8bb6a56..324ae6d82a 100644
--- a/meta-oe/recipes-extended/rsyslog/rsyslog/rsyslog.conf
+++ b/meta-oe/recipes-extended/rsyslog/rsyslog/rsyslog.conf
@@ -14,6 +14,8 @@ $ModLoad imklog # kernel logging (formerly provided by rklogd)
#
# Set the default permissions
#
+$FileOwner root
+$FileGroup adm
$FileCreateMode 0640
$DirCreateMode 0755
$Umask 0022