diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-04-16 14:58:10 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-04-16 14:58:10 +0200 |
commit | 2368ccae461644724572a7286a5617bb35702797 (patch) | |
tree | 75701ef3d1d33cf1759be45a1ff11952f27044bf /tools/omfile.c | |
parent | a5b4cb1681174ad221a8440422e4cd0da0e32064 (diff) | |
parent | eec6aff6a938f6b761155ce2ccc4ef27e431ef6d (diff) | |
download | rsyslog-2368ccae461644724572a7286a5617bb35702797.tar.gz rsyslog-2368ccae461644724572a7286a5617bb35702797.tar.xz rsyslog-2368ccae461644724572a7286a5617bb35702797.zip |
Merge branch 'beta'
Diffstat (limited to 'tools/omfile.c')
-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 36f160d1..c7283e4d 100644 --- a/tools/omfile.c +++ b/tools/omfile.c @@ -78,7 +78,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 */ @@ -847,7 +847,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) { |