Package: libsbuild-perl Version: 0.66.0-5 Followup-For: Bug #726866 Dear Maintainer,
I can reproduce the problem in current unstable. Note that my umask is 0077 by default, otherwise it doesn't show up. The attached patch against master fixes it. -- System Information: Debian Release: stretch/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.2.0-1-amd64 (SMP w/12 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: sysvinit (via /sbin/init) Versions of packages libsbuild-perl depends on: ii adduser 3.113+nmu3 ii apt 1.1 ii apt-utils 1.1 ii dctrl-tools 2.24-1 ii devscripts 2.15.9 ii dpkg-dev 1.18.3 ii libdpkg-perl 1.18.3 ii libexception-class-perl 1.39-1 ii libfilesys-df-perl 0.92-5+b1 ii libmime-lite-perl 3.030-2 ii perl 5.20.2-6 ii perl-modules [libio-zlib-perl] 5.20.2-6 ii schroot 1.6.10-2 Versions of packages libsbuild-perl recommends: ii esmtp-run [mail-transport-agent] 1.2-12 libsbuild-perl suggests no packages. -- no debconf information
>From 2842cf67cce4eb11c05e2a7a43f9f03f721dbe05 Mon Sep 17 00:00:00 2001 From: Jochen Sprickerhof <[email protected]> Date: Fri, 27 Nov 2015 10:48:16 +0100 Subject: [PATCH] Fix permission of public key --- lib/Sbuild/ChrootSetup.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/Sbuild/ChrootSetup.pm b/lib/Sbuild/ChrootSetup.pm index 3721554..3e409b2 100644 --- a/lib/Sbuild/ChrootSetup.pm +++ b/lib/Sbuild/ChrootSetup.pm @@ -287,9 +287,10 @@ EOF return $?; } - # Secret keyring needs to be readable by 'sbuild' group. + # Keys needs to be readable by 'sbuild' group. @command = ('chmod', '640', - $conf->get('SBUILD_BUILD_DEPENDS_SECRET_KEY')); + $conf->get('SBUILD_BUILD_DEPENDS_SECRET_KEY'), + $conf->get('SBUILD_BUILD_DEPENDS_PUBLIC_KEY')); $host->run_command( { COMMAND => \@command, USER => $conf->get('BUILD_USER'), -- 2.6.2

