%attr(750,ceph,ceph) %dir %{_localstatedir}/lib/ceph/bootstrap-osd
%attr(750,ceph,ceph) %dir %{_localstatedir}/lib/ceph/bootstrap-mds
%attr(750,ceph,ceph) %dir %{_localstatedir}/lib/ceph/bootstrap-rgw
-%attr(750,ceph,ceph) %dir %{_localstatedir}/run/ceph
+%attr(770,ceph,ceph) %dir %{_localstatedir}/run/ceph
#################################################################################
%files -n ceph-common
echo Starting Ceph $name on $host...
if [ ! -d $run_dir ]; then
# assume /var/run exists
- install -d -m0755 -o ceph -g ceph /var/run/ceph
+ install -d -m0770 -o ceph -g ceph /var/run/ceph
fi
get_conf pre_start_eval "" "pre start eval"
[ -n "$pre_start_eval" ] && $pre_start_eval
test -x /usr/bin/ceph-mds || { stop; exit 0; }
test -d "/var/lib/ceph/mds/${cluster:-ceph}-$id" || { stop; exit 0; }
- install -d -m0755 -o ceph -g ceph /var/run/ceph
+ install -d -m0770 -o ceph -g ceph /var/run/ceph
end script
instance ${cluster:-ceph}/$id
test -x /usr/bin/ceph-mon || { stop; exit 0; }
test -d "/var/lib/ceph/mon/${cluster:-ceph}-$id" || { stop; exit 0; }
- install -d -m0755 -o ceph -g ceph /var/run/ceph
+ install -d -m0770 -o ceph -g ceph /var/run/ceph
end script
instance ${cluster:-ceph}/$id
test -x /usr/bin/ceph-osd || { stop; exit 0; }
test -d "/var/lib/ceph/osd/${cluster:-ceph}-$id" || { stop; exit 0; }
- install -d -m0755 -o ceph -g ceph /var/run/ceph
+ install -d -m0770 -o ceph -g ceph /var/run/ceph
/usr/libexec/ceph/ceph-osd-prestart.sh --cluster="${cluster:-ceph}" -i "$id"
end script
test -x /usr/bin/radosgw || { stop; exit 0; }
test -d "/var/lib/ceph/radosgw/${cluster:-ceph}-$id" || { stop; exit 0; }
- install -d -m0755 -o ceph -g ceph /var/run/ceph
+ install -d -m0770 -o ceph -g ceph /var/run/ceph
end script
instance ${cluster:-ceph}/$id
-d /var/run/ceph 0755 ceph ceph -
+d /var/run/ceph 0770 ceph ceph -