From 05cc1db2772034b007cc21f135c4ed61f9131dfc Mon Sep 17 00:00:00 2001 From: Ceph Maintainers Date: Sat, 21 Oct 2023 17:42:26 +0100 Subject: [PATCH] fix-var-run-perms-sysvinit Gbp-Pq: Name fix-var-run-perms-sysvinit.patch --- src/init-ceph.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2