Package: pepperflashplugin-nonfree
Version: 1.8.1+b1
Followup-For: Bug #763874

Dear Maintainer,

   * What led up to the situation?

I upgraded to apt 1.1.3.

Afterwards the following directory and file were not readable by the
_apt user when running update-pepperflashplugin-nonfree:

/tmp/pepperflashplugin-nonfree.XXXXXXXXXX
/tmp/pepperflashplugin-nonfree.XXXXXXXXXX/etc/apt/pubring.gpg

   * What exactly did you do (or not do) that was effective (or ineffective)?

/usr/sbin/update-pepperflashplugin-nonfree --status

   * What was the outcome of this action?

ERROR: failed to retrieve status information from google : W: Can't drop 
privileges for downloading as file 
'./var/lib/apt/lists/partial/dl.google.com_linux_chrome_deb_dists_stable_InRelease'
 couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Keine Berechtigung)
More information might be available at:
  http://wiki.debian.org/PepperFlashPlayer

   * What outcome did you expect instead?

# /usr/local/sbin/update-pepperflashplugin-nonfree --status
Flash Player version installed on this system  : 19.0.0.245
Flash Player version available on upstream site: 19.0.0.245

   * Patch attached

Patch pepperflashplugin-nonfree-with-apt-1.1.diff fixes the problem.
--- update-pepperflashplugin-nonfree.orig	2014-10-22 08:26:45.000000000 +0200
+++ update-pepperflashplugin-nonfree	2015-12-08 20:58:04.000000000 +0100
@@ -114,6 +114,7 @@
 
 UNPACKDIR=`mktemp -d /tmp/pepperflashplugin-nonfree.XXXXXXXXXX` || die_hard "mktemp failed"
 echo "$UNPACKDIR" | grep -q "^/tmp/pepperflashplugin-nonfree\." || die_hard "paranoia"
+chmod 711 "$UNPACKDIR" || die_hard "chmod failed"
 cd "$UNPACKDIR" || die_hard "cd failed"
 
 [ "$verbose" != "yes" ] || echo "temporary directory: $UNPACKDIR"
@@ -170,6 +171,7 @@
 	EOF
 
 	gpg --quiet --no-permission-warning --homedir "etc/apt" --import /usr/lib/pepperflashplugin-nonfree/pubkey-google.txt
+  chmod 644 etc/apt/pubring.gpg
 
 	[ "$verbose" != "yes" ] || echo "doing apt-get update on google repository"
 	stdouterr=`APT_CONFIG=apt.conf apt-get --quiet --quiet update 2>&1`

Reply via email to