Your message dated Wed, 30 Nov 2022 18:10:05 +0000 with message-id <[email protected]> and subject line Bug#938168: Removed package(s) from unstable has caused the Debian Bug report #462297, regarding python-setuptools: umask of 0077 results in permissions issues 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.) -- 462297: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=462297 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: python-setuptools Version: 0.6c7-1 Severity: important Running easy_setup as root to make new packages available system-wide I find that all of the packages and their dependencies are downloaded and installed. However, they are not usable to normal users due to overly restrictive permissions issues. My root user's umask is set to 0077 (as a result of running the Debian/Bastille system hardening script, probably). But it would have been set that way as a matter of course). Symptoms: For example, using the command: easy_install turbogears (as root) then trying to run the tg-admin quickstart command (as a normal user) fails with a traceback (from the import failure). Obviously running the tg-admin as root succeeds. Workaround/mitigation: Running commands like the following seems to resolve the issue: find /usr/lib/python* -type d -print0 | xargs -0 chmod go+rx find /usr/lib/python* -not -type d -print0 | xargs -0 chmod go+r (make all directories under /usr/lib/python* world and group accessible and all regular files world and group readable). Solution: It's unclear to me what the best policy should be. Clearly just changing umasks around, or over-riding them, not be correct. If it is Debian/Python policy that /usr/lib/python* be world accessible then perhaps the best solution would be to add a wrapper around the easy_install command to clean up the permissions after the fact. If that's a consensus policy for other distributions as well then perhaps the permissions clean-up should be implemented upstream. If there is any use case for inaccessible easy_install directory trees then perhaps that needs to be documented and options provided to support it. However, the default behavior should almost certainly be for the results to be accessible system-wide. (I can almost imagine a case for limiting access to a "pythonusers" system group; but it's still likely to be a rather obscure situation). -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (500, 'testing'), (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.23.1-linode36 Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/bash Versions of packages python-setuptools depends on: ii python 2.4.4-6 An interactive high-level object-o ii python-central 0.5.15-0.1 register and build utility for Pyt python-setuptools recommends no packages. -- no debconf information
--- End Message ---
--- Begin Message ---Version: 44.1.1-1.2+rm Dear submitter, as the package python-setuptools has just been removed from the Debian archive unstable we hereby close the associated bug reports. We are sorry that we couldn't deal with your issue properly. For details on the removal, please see https://bugs.debian.org/938168 The version of this package that was in Debian prior to this removal can still be found using http://snapshot.debian.org/. Please note that the changes have been done on the master archive and will not propagate to any mirrors until the next dinstall run at the earliest. This message was generated automatically; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]. Debian distribution maintenance software pp. Scott Kitterman (the ftpmaster behind the curtain)
--- End Message ---

