Package: debianutils
Version: 4.3.2

Problem description: As the manual for run-parts describes, it sets the
umask to 022 unless specified otherwise.  IMHO this violates the
principle of least surprise: I would (did) not expect any tool to fiddle
with the umask (or any other environment stuff) unless required for it's
operation, or explicitly requested by the user.

Workaround: For the meantime, use `run-parts --umask="$(umask)" ...`.

Suggested fix: By default, run-parts should not change the umask.  The
user may still use -u022 to get the original behaviour.

System information:
$ uname -a
Linux bellbird 3.2.0-3-amd64 #1 SMP Mon Jul 23 02:45:17 UTC 2012 x86_64 
GNU/Linux
$ dpkg -s libc6 | grep ^Version
Version: 2.13-35

Thanks!
Stefan


-- 
Stefan Klinger                                      o/klettern
                                                    /\/  bis zum
send plaintext only - max size 32kB - no spam         \   Abfallen
http://stefan-klinger.de


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to