Your message dated Sun, 11 Jan 2015 12:03:27 +0000
with message-id <[email protected]>
and subject line Bug#775075: fixed in autopkgtest 3.9.1
has caused the Debian Bug report #775075,
regarding adt-setup-vm: set umask to 0022
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
775075: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=775075
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: autopkgtest
Version: 3.9
Severity: normal
Tags: patch
Hi,
umask must be set to 0022, otherwise ordinary users will not be able to
read generated files, eg: /etc/apt/sources.list, if root has a stricter
umask then the default (and adt-setup-vm is called as root).
Regards,
Christian
>From 8fdcbf7b7e6983c58aed920ca839c40003d2d051 Mon Sep 17 00:00:00 2001
From: Christian Kastner <[email protected]>
Date: Sun, 11 Jan 2015 01:15:25 +0100
Subject: adt-setup-vm: set umask to 0022
adt-setup-vm is called as root. If root has a stricter umask, eg: 0027, then
ordinary users within the VM will not be able to read generated files such as
/etc/apt/sources.list. Therefore, ensure it is at 0022.
---
tools/adt-setup-vm | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tools/adt-setup-vm b/tools/adt-setup-vm
index 933b1c0..cb0c9bb 100755
--- a/tools/adt-setup-vm
+++ b/tools/adt-setup-vm
@@ -15,6 +15,9 @@
set -eu
+# Created files should be readable by user adt (this script is called as root)
+umask 0022
+
if [ "${1:-}" = "--help" ]; then
echo "Usage: $0 [chroot dir]"
echo "if chroot dir is not given, run on the main system (for running in VMs)"
--
2.1.4
--- End Message ---
--- Begin Message ---
Source: autopkgtest
Source-Version: 3.9.1
We believe that the bug you reported is fixed in the latest version of
autopkgtest, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Martin Pitt <[email protected]> (supplier of updated autopkgtest package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Sun, 11 Jan 2015 12:53:18 +0100
Source: autopkgtest
Binary: autopkgtest
Architecture: source all
Version: 3.9.1
Distribution: unstable
Urgency: medium
Maintainer: Autopkgtest team <[email protected]>
Changed-By: Martin Pitt <[email protected]>
Description:
autopkgtest - automatic as-installed testing for Debian packages
Closes: 775073 775075 775076 775092
Changes:
autopkgtest (3.9.1) unstable; urgency=medium
.
[ Martin Pitt ]
* Revert installation of ubuntu-device-flash in adt-run autopkgtest, it's
too unstable (timeouts and grub errors due to qemu in qemu).
.
[ Christian Kastner ]
* adt-run: Fix detection of dpkg-dev in the testbed. (Closes: #775073)
* adt-setup-vm: Set umask to 0022 so that ordinary users in the testbed can
read generated files. (Closes: #775075)
* adt-setup-vm: Modify guest's dpkg config for enabling force-unsafe-io, not
host's, when a root directory is specified as argument. (Closes: #775076)
* adt-setup-vm: Make sure $proxy variable exists before using it. Fixes
crash when apt is not configured to use a proxy. (Closes: #775092)
Checksums-Sha1:
6ad10c33416c4cf5aae1560a2eb8351a2d6e91a1 1759 autopkgtest_3.9.1.dsc
32ae5806274027c7aa60b10caef8db3de434e34f 158760 autopkgtest_3.9.1.tar.gz
3240d192068e7155ee4ab71bd0fe1b717acb62c1 137278 autopkgtest_3.9.1_all.deb
Checksums-Sha256:
4ea073995265f19e6bf890e67110ca618a952989c0113ca3c8a73b6b31bba129 1759
autopkgtest_3.9.1.dsc
bc20c6dc88c73704d20f519843a02cb7e57f4b6a2a52850a91e0c5fa2a176bd6 158760
autopkgtest_3.9.1.tar.gz
7ff1ffaa6a4340beea554b281051e826dfdafff6ff20f3ef47757f5df5e6462a 137278
autopkgtest_3.9.1_all.deb
Files:
8bab498e049ffe5b1464cde30d0191dd 1759 devel optional autopkgtest_3.9.1.dsc
f979208184639dd60281bb4e70ae27b3 158760 devel optional autopkgtest_3.9.1.tar.gz
2648c9be1e285cbb8150f37626c5be43 137278 devel optional
autopkgtest_3.9.1_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCAAGBQJUsmTyAAoJENFO8V2v4RNHsHcP/j0Oqk7AR84G9nIKgo1ZPRS7
PRsiNdidm9DlkRfNvztFadlZpwLKn5JUpMgss9p7PJDL23ruF3LtgIyUdExrFIYT
73eV4pP3LV9BDo1m63K6VpRaEo+BOwizBJDZNQzcc5Q0UuF9IhN508EMX6XPoMyA
A6jAhvTj1ZU9TO4R0VYG48jU5tHf5G7xGLOGLyEKSX4MlZ+ZujySn1sq218iQJxO
WWX5bNq3uULZULQODIxmHTs0YlWs28qbMFdtudZCcM6kTcPv67OKUi01VvqjvbzA
ZjHTxVHDFhtv7a52Irlmu77I0G6gikH8GAbGjd89rPt8qzkinrMdFIJPcZNX6UfL
K0V6l6RV5wZ6DoTnE5mBtTlScNy3XHnAO8+tYWl8cyli2ryuGTtpqpn1gNT7+9d0
a+X8x5of2jWldwvdfv/w/lvF/pcISre6w6Ox9tQNI2B6E4bod1l0cBGlrSLYqWga
hvVwQphHtTdYgtMulD7xie2Y1Ygw4tTkUQBlr55W1hp2hbAyzbh79lDwLm247uU6
b+X3T7PJrc6GaVXJOOYmU5uJukvmaeyJFjtccClwiikFpXI+qIB+z+N7iEI6puFY
9N3qEpB7Lgb7uuXyoLe7YYUQENzf3YZsnXTyx86ZQB1BcC29yTiqHbRJspmDfUg2
/oc0oSAhv71V71RUMvJK
=juPL
-----END PGP SIGNATURE-----
--- End Message ---