[Pkg-ia32-libs-maintainers] Bug#610503: cp: cannot open `/etc/apt/trusted.gpg' for reading: Permission denied

Thijs Kinkhorst thijs at debian.org
Wed Jan 19 09:39:13 UTC 2011


On Wed, January 19, 2011 09:41, Goswin von Brederlow wrote:
> Package: ia32-libs
> Version: 20101012
> Severity: normal
>
> The source can no longer be updated as non-root, which I find an
> unaceptable solution.

Hmm, this is mode 0644 with me but apparently I changed that some time,
because it seems that by default this is indeed not-readable.

Still, it can be updated as non-root if you make that file readable,
because as far as I can see it will not contain sensitive content.

> Maybe we should do the same thing here as we do with the sources.list.
> Namely in fetch-and-build:
>
> TRUSTED=/etc/apt/trusted.gpg
> if [ -e trusted.gpg.local ]; then
>   TRUSTED=trusted.gpg.local
> fi
>
> and later
>
> cp -a "$TRUSTED" $APTDIR/etc/ || {
>   echo "Note: You can provide a ./trusted.gpg.local."; exit 1;
> }
>
>
> And trusted.gpg.local is added to .gitignore so nobody checks it in
> accidentally.
>
> Comments?

Fine with me.


Thijs





More information about the Pkg-ia32-libs-maintainers mailing list