On Tue, Jul 24, 2001 at 02:24:41AM +0200, Nick Name wrote: > More seriously, a quick fix could be, if you can't switch back 2.2.19 or > go forward 2.4.7, to mv /sbin/init /sbin/good_init and put in /sbin/init > a script like this, everything is untested of course: > > #!/bin/sh > umask 022 > exec /sbin/init
neh. messing around with what /sbin/init is nasty. better solution is adding umask 022 to /etc/init.d/rc, using /etc/initscript (im not totally sure how this works rtfm...) or patching init to call umask(022); the kernel developers seem to beleive the latter is the correct solution, i tend to agree to that, but i don't agree that the kernel should start processes with a broken umask to begin with. -- Ethan Benson http://www.alaska.net/~erbenson/
pgpGQRIPxC2av.pgp
Description: PGP signature