PATCH: PR27571: debuginfod client, cache file permissions

Mark Wielaard mark@klomp.org
Sat May 1 18:14:47 GMT 2021


Hi Frank,

On Mon, 2021-04-26 at 12:22 -0400, Frank Ch. Eigler via Elfutils-devel wrote:
> Author: Frank Ch. Eigler <fche@redhat.com>
> Date:   Mon Apr 26 12:21:03 2021 -0400
> 
>     PR27571: debuginfod client cache - file permissions
>     
>     Files in the download cache should be read-only.
>     
>     Signed-off-by: Frank Ch. Eigler <fche@redhat.com>
> 
> diff --git a/debuginfod/ChangeLog b/debuginfod/ChangeLog
> index 9af641ec0e13..3909100903cb 100644
> --- a/debuginfod/ChangeLog
> +++ b/debuginfod/ChangeLog
> @@ -1,3 +1,9 @@
> +2021-04-26  Frank Ch. Eigler <fche@redhat.com>
> +
> +	PR27571
> +	* debuginfod-client.c (debuginfod_query_server): Chmod 0400 files
> +	delivered into the cache to prevent accidental modification.

Yes, sounds like a good idea.

Thanks,

Mark


More information about the Elfutils-devel mailing list