diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-04-16 14:57:41 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-04-16 14:57:41 +0200 |
commit | eec6aff6a938f6b761155ce2ccc4ef27e431ef6d (patch) | |
tree | 3ce27be7f5f99150aaf68c343b8541052286278c /tools | |
parent | 0cade5118fbf6b7af6f34b53255e4e73b9578176 (diff) | |
parent | 481dca7c80a26773c4d5f66abce9cee0f60016e9 (diff) | |
download | rsyslog-eec6aff6a938f6b761155ce2ccc4ef27e431ef6d.tar.gz rsyslog-eec6aff6a938f6b761155ce2ccc4ef27e431ef6d.tar.xz rsyslog-eec6aff6a938f6b761155ce2ccc4ef27e431ef6d.zip |
Merge branch 'v3-stable' into beta
Conflicts:
ChangeLog
configure.ac
doc/manual.html
Diffstat (limited to 'tools')
-rw-r--r-- | tools/omfile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/omfile.c b/tools/omfile.c index d76e24ae..5e0f849b 100644 --- a/tools/omfile.c +++ b/tools/omfile.c @@ -74,7 +74,7 @@ typedef struct s_dynaFileCacheEntry dynaFileCacheEntry; /* globals for default values */ static int iDynaFileCacheSize = 10; /* max cache for dynamic files */ static int fCreateMode = 0644; /* mode to use when creating files */ -static int fDirCreateMode = 0644; /* mode to use when creating files */ +static int fDirCreateMode = 0700; /* mode to use when creating files */ static int bFailOnChown; /* fail if chown fails? */ static uid_t fileUID; /* UID to be used for newly created files */ static uid_t fileGID; /* GID to be used for newly created files */ @@ -803,7 +803,7 @@ static rsRetVal resetConfigVariables(uchar __attribute__((unused)) *pp, void __a bFailOnChown = 1; iDynaFileCacheSize = 10; fCreateMode = 0644; - fDirCreateMode = 0644; + fDirCreateMode = 0700; bCreateDirs = 1; bEnableSync = 0; if(pszTplName != NULL) { |