[ABRT PATCH] spec: always make debuginfo cache setgid

Jakub Filak jfilak at redhat.com
Fri May 31 16:33:42 UTC 2013


Pushed. Thank you!

On Friday 31 of May 2013 16:22:51 Martin Milata wrote:
> libreport relies on the directory being both setuid and setgid since
> commit 82ab820df1e407bb91facc351a96bb38598f91f7. Debuginfo download
> won't work with any newer libreport if the cache does not have the
> setgid bit set.
> 
> Signed-off-by: Martin Milata <mmilata at redhat.com>
> ---
>  abrt.spec.in | 10 +---------
>  1 file changed, 1 insertion(+), 9 deletions(-)
> 
> diff --git a/abrt.spec.in b/abrt.spec.in
> index 2573a6f..fec5b56 100644
> --- a/abrt.spec.in
> +++ b/abrt.spec.in
> @@ -671,16 +671,8 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor
> &>/dev/null || : %endif
>  %{_libexecdir}/abrt-hook-ccpp
> 
> -# if fedora < 18 && rhel < 7; then attr(4755 ~= SETUID) ; else attr(6755 ~=
> SETUID|SETGID); fi -%if 0%{?fedora} < 18
> -%if 0%{?rhel} < 7
> -%attr(4755, abrt, abrt)
> %{_libexecdir}/abrt-action-install-debuginfo-to-abrt-cache -%else
> +# attr(6755) ~= SETUID|SETGID
>  %attr(6755, abrt, abrt)
> %{_libexecdir}/abrt-action-install-debuginfo-to-abrt-cache -%endif
> -%else
> -%attr(6755, abrt, abrt)
> %{_libexecdir}/abrt-action-install-debuginfo-to-abrt-cache -%endif
> 
>  %{_bindir}/abrt-action-analyze-c
>  %{_bindir}/abrt-action-trim-files


More information about the Crash-catcher mailing list