[pkg-nvidia-devel] Bug#460529: nvidia-kernel-source: build does not honor umask 002 and creates non-group-writeable files
Marc Haber
mh+debian-bugs at zugschlus.de
Sun Jan 13 12:13:41 UTC 2008
Package: nvidia-kernel-source
Version: 169.07-1
Severity: normal
Hi,
when nvidia-kernel is built as non-root with umask 002, the build
process leaves - nevertheless - files around that have mode 644. This
breaks kernel build for other users on this system.
Steps to reproduce:
- unpack vanilla kernel and nvidia-kernel-source
- make sure that all /usr/src/modules is group writeable:
sudo chmod -R g+w /usr/src/modules
- set umask 002
- fakeroot make-kpkg --revision=20080113.0 kernel_image
- find /usr/src/modules/ -not -perm /020 -ls
- see that all files are still group writeable
- build nvidia-kernel:
fakeroot make-kpkg --revision=20080113.0 --added-modules=nvidia-kernel modules_image
- find /usr/src/modules/ -not -perm /020 -ls
- find out that numerous non-group-writeable files were left lying
around.
Other module packages behave better, so I'd like to say on first try
that kernel-package is innocent.
Greetings
Marc
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.23.12-zgsrv (SMP w/1 CPU core; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
More information about the Pkg-nvidia-devel
mailing list