Skip to content

Commit

Permalink
vstart: use 'allow *' notation instead of 'allow rwx'
Browse files Browse the repository at this point in the history
  • Loading branch information
Greg Farnum committed Mar 10, 2010
1 parent 9b3786f commit a9b15cc
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/vstart.sh
Original file line number Diff line number Diff line change
Expand Up @@ -274,8 +274,8 @@ EOF
if [ $overwrite_conf -eq 1 ]; then
cat <<EOF > $admin_caps
; generated by vstart.sh on `date`
mon = "allow rwx"
osd = "allow rwx"
mon = "allow *"
osd = "allow *"
mds = "allow"
EOF
fi
Expand Down Expand Up @@ -344,8 +344,8 @@ EOF
if [ $overwrite_conf -eq 1 ]; then
cat <<EOF > $osd_caps
; generated by vstart.sh on `date`
mon = "allow rwx"
osd = "allow rwx"
mon = "allow *"
osd = "allow *"
EOF
fi
$SUDO $CEPH_BIN/cauthtool --create-keyring --gen-key --name=osd.$osd --caps=$osd_caps $key_fn
Expand Down Expand Up @@ -381,8 +381,8 @@ EOF
EOF
cat <<EOF > $mds_caps
; generated by vstart.sh on `date`
mon = "allow rwx"
osd = "allow rwx"
mon = "allow *"
osd = "allow *"
mds = "allow"
EOF
fi
Expand Down

0 comments on commit a9b15cc

Please sign in to comment.