Skip to content

Commit

Permalink
rpm: fix permissions for /etc/ceph/rbdmap
Browse files Browse the repository at this point in the history
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

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
  • Loading branch information
ktdreyer committed Sep 23, 2016
1 parent 8ddb7fe commit e5372e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ceph.spec.in
Expand Up @@ -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
Expand Down

0 comments on commit e5372e2

Please sign in to comment.