]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
r15380: default eventlog tdbs to mode 0660 to allow easier access by BUILTIN\Administ...
authorGerald Carter <jerry@samba.org>
Mon, 1 May 2006 18:54:53 +0000 (18:54 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:16:38 +0000 (11:16 -0500)
(This used to be commit a02933c9589e34488f289cbc40f77f6864a58367)

source3/rpc_server/srv_eventlog_lib.c

index acae1c94e9a2920bcaf18cd9f35c2fdec25ec91b..e04aefa7e1b3a6abd00abd7f3f21ca50238189d0 100644 (file)
@@ -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 ) );