From d4b84a13960f9f46593bf89dc92bfc3e54b4851e Mon Sep 17 00:00:00 2001 From: Ken Dreyer Date: Fri, 23 Sep 2016 14:49:56 -0600 Subject: [PATCH] rpm: fix permissions for /etc/ceph/rbdmap Prior to this change, the RPM packaging would install /etc/ceph/rbdmap with exectuable permissions. The execute bit is not necessary and does not match what the Debian packaging does. Remove the execute bit in this case. Fixes: http://tracker.ceph.com/issues/17395 Reported-by: Martin Bukatovic Signed-off-by: Ken Dreyer --- ceph.spec.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ceph.spec.in b/ceph.spec.in index b1391fa01e990..01191b718e561 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -731,7 +731,7 @@ make DESTDIR=%{buildroot} install # we have dropped sysvinit bits rm -f %{buildroot}/%{_sysconfdir}/init.d/ceph popd -install -D src/etc-rbdmap %{buildroot}%{_sysconfdir}/ceph/rbdmap +install -m 0644 -D src/etc-rbdmap %{buildroot}%{_sysconfdir}/ceph/rbdmap %if 0%{?fedora} || 0%{?rhel} install -m 0644 -D etc/sysconfig/ceph %{buildroot}%{_sysconfdir}/sysconfig/ceph %endif -- 2.39.5