[ceph] fix block device permissions
This commit is contained in:
parent
7b776e48a0
commit
f30413d834
1 changed files with 3 additions and 0 deletions
|
@ -85,6 +85,9 @@ touch "$mountpath/sysvinit"
|
|||
ceph-osd --cluster ceph -i "${osd_id}" --mkfs
|
||||
chown -R ceph:ceph "$mountpath"
|
||||
|
||||
# Also allow access to the blockdevices - via symlink
|
||||
chown ceph:ceph "${mountpath}/block"
|
||||
|
||||
if [ $# -eq 1 ]; then
|
||||
WEIGHT=$1; shift
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue