summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2006-05-01 18:54:53 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:16:38 -0500
commit2bdbd3fa6dd351f393f4972578e382da73ebcc18 (patch)
treedfd764cf2809760ab6a57741b0bfbd5338bfe028
parent567e8fa6ca61e136f94d06e858ee30577c8f36e3 (diff)
downloadsamba-2bdbd3fa6dd351f393f4972578e382da73ebcc18.tar.gz
samba-2bdbd3fa6dd351f393f4972578e382da73ebcc18.tar.bz2
samba-2bdbd3fa6dd351f393f4972578e382da73ebcc18.zip
r15380: default eventlog tdbs to mode 0660 to allow easier access by BUILTIN\Administrators
(This used to be commit a02933c9589e34488f289cbc40f77f6864a58367)
-rw-r--r--source3/rpc_server/srv_eventlog_lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_eventlog_lib.c b/source3/rpc_server/srv_eventlog_lib.c
index acae1c94e9..e04aefa7e1 100644
--- a/source3/rpc_server/srv_eventlog_lib.c
+++ b/source3/rpc_server/srv_eventlog_lib.c
@@ -39,7 +39,7 @@ TDB_CONTEXT *elog_init_tdb( char *tdbfilename )
tdbfilename));
tdb = tdb_open_log( tdbfilename, 0, TDB_DEFAULT,
- O_RDWR|O_CREAT|O_TRUNC, 0600 );
+ O_RDWR|O_CREAT|O_TRUNC, 0660 );
if ( !tdb ) {
DEBUG( 0, ( "Can't open tdb for [%s]\n", tdbfilename ) );