ctdb: open the RO tracking db with perms 0600 instead of 0000
authorMichael Adam <obnox@samba.org>
Tue, 27 Oct 2015 09:20:31 +0000 (10:20 +0100)
committerAmitay Isaacs <amitay@samba.org>
Wed, 28 Oct 2015 05:13:09 +0000 (06:13 +0100)
commit0a90ed51245d4a7acb23d22e47ee3fd5b83819b0
tree139b79065ed61ab39b40292e4c6b8b0486d0e711
parentcbae31c7946fc13c3a00bc81a102e90fdec00018
ctdb: open the RO tracking db with perms 0600 instead of 0000

While 0000 is possible from the UNIX/POSIX point of view,
these permissions create problems in an environment with
selinux enabled, which is more strict.

This aligns the perms of the read only tracking db with other
internal dbs.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11577

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Autobuild-User(master): Amitay Isaacs <amitay@samba.org>
Autobuild-Date(master): Wed Oct 28 06:13:09 CET 2015 on sn-devel-104
ctdb/server/ctdb_ltdb_server.c