From 6bd8df2bbe1120a6710945dc6ed91ca5e1ee620a Mon Sep 17 00:00:00 2001 From: lub Date: Fri, 7 Feb 2020 08:30:05 +0100 Subject: [PATCH] add snapshot permissions to client key --- node.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node.sh b/node.sh index 48a8128..7e03383 100755 --- a/node.sh +++ b/node.sh @@ -41,7 +41,7 @@ cp -a /ceph/mon/etc/ceph/ceph.client.admin.keyring /ceph/mds/etc/ceph/ #client mkdir -p /ceph/client/etc/ceph docker exec ceph_mon ceph config generate-minimal-conf > /ceph/client/etc/ceph/ceph.conf -(docker exec ceph_mon ceph fs authorize cephfs client.$(hostname) / rw) > /ceph/client/etc/ceph/keyring +(docker exec ceph_mon ceph fs authorize cephfs client.$(hostname) / rws) > /ceph/client/etc/ceph/keyring chmod 600 /ceph/client/etc/ceph/keyring