From 953dbc32c5632387947d116b7e850f1b63a4e030 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 (cherry picked from commit d4b84a13960f9f46593bf89dc92bfc3e54b4851e) Conflicts: ceph.spec.in : trivial context resolution --- ceph.spec.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ceph.spec.in b/ceph.spec.in index 9ddd75fb6664d..9f4c21a574d84 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -700,7 +700,7 @@ make %{?_smp_mflags} check make DESTDIR=%{buildroot} install find %{buildroot} -type f -name "*.la" -exec rm -f {} ';' find %{buildroot} -type f -name "*.a" -exec rm -f {} ';' -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