Bug#108801: apt-get update applies umask to files in /var/state/apt/lists/
Package: apt
Version: 0.3.19
Severity: normal
When "apt-get update" is run, the umask of the process (i.e. root's
umask) is applied to the permissions of those package list files
(stored in /var/state/apt/lists/) which are actually updated. If the
umask is 077 or similar, the package files will be unreadable to
anybody but the superuser, which means that apt-cache cannot perform
searches when run as a normal user.
"apt-get update" should ensure that the package list files it creates
have the appropriate permissions (probably 644, possibly configurable
in /etc/apt/apt.conf).
-- System Information
Debian Release: 2.2
Architecture: i386
Kernel: Linux TK212017118241.teleweb.at 2.2.19 #1 Tue Jun 19 07:46:20 CEST 2001 i686
Versions of packages apt depends on:
ii libc6 2.1.3-18 GNU C Library: Shared libraries an
ii libstdc++2.10 1:2.95.2-13 The GNU stdc++ library
Reply to: