mirror of
https://github.com/ceph/ceph
synced 2025-01-02 00:52:22 +00:00
mkcephfs: osd=allow * caps for osd, mds
This commit is contained in:
parent
848caaf05f
commit
aa490a761b
@ -134,8 +134,8 @@ if echo $what | grep -q mon0 ; then
|
||||
echo Building admin keyring at $adminkeyring
|
||||
cat <<EOF > /tmp/admin_caps.$$
|
||||
; generated by mkcephfs on `date`
|
||||
mon = "allow rwx"
|
||||
osd = "allow rwx"
|
||||
mon = "allow *"
|
||||
osd = "allow *"
|
||||
mds = "allow"
|
||||
EOF
|
||||
[ -e "$monkeyring" ] && rm -f $monkeyring
|
||||
@ -152,12 +152,12 @@ EOF
|
||||
cat <<EOF > /tmp/osd.caps.$$
|
||||
; generated by mkcephfs on `date`
|
||||
mon = "allow rwx"
|
||||
osd = "allow rwx"
|
||||
osd = "allow *"
|
||||
EOF
|
||||
cat <<EOF > /tmp/mds.caps.$$
|
||||
; generated by mkcephfs on `date`
|
||||
mon = "allow rwx"
|
||||
osd = "allow rwx"
|
||||
osd = "allow *"
|
||||
mds = "allow"
|
||||
EOF
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user