]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
kv/RocksDBStore: tell rocksdb to set mode to 0600, not 0644
authorSage Weil <sage@redhat.com>
Tue, 1 Oct 2019 22:45:01 +0000 (17:45 -0500)
committerSage Weil <sage@redhat.com>
Tue, 1 Oct 2019 22:45:01 +0000 (17:45 -0500)
commitd9a46f9f1e0b14e63ac0b8def7f7ae8a716a833a
treee10505a2646f1e6210782f272863bfd969033fea
parent3de8ee9392547343be919440f461c1d75db69170
kv/RocksDBStore: tell rocksdb to set mode to 0600, not 0644

We don't want other users on the system to be able to read the rocksdb
database.

Fixes: https://tracker.ceph.com/issues/42114
Signed-off-by: Sage Weil <sage@redhat.com>
src/kv/RocksDBStore.cc