From: Ceph Maintainers Date: Sat, 21 Oct 2023 16:42:26 +0000 (+0100) Subject: fix-var-run-perms-sysvinit X-Git-Tag: archive/raspbian/12.2.11+dfsg1-2.1+rpi1+deb10u1^2~25 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=05cc1db2772034b007cc21f135c4ed61f9131dfc;p=ceph.git fix-var-run-perms-sysvinit Gbp-Pq: Name fix-var-run-perms-sysvinit.patch --- diff --git a/src/init-ceph.in b/src/init-ceph.in index 26704d62e..080fd90c7 100755 --- a/src/init-ceph.in +++ b/src/init-ceph.in @@ -293,7 +293,7 @@ for name in $what; do if [ "$command" = "start" -o "$command" = "onestart" ]; then if [ -n "$pid_file" ]; then - do_cmd "mkdir -p "`dirname $pid_file` + do_cmd "install -d -m0770 -o ceph -g ceph "`dirname $pid_file` cmd="$cmd --pid-file $pid_file" fi