[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: umask for init



Ethan Benson <erbenson@alaska.net> writes:

> On Mon, Jul 23, 2001 at 04:53:55PM -0400, Dan Christensen wrote:
> > I read that certain kernel versions don't set the umask for init
> > correctly (2.4.6 is one of them, I think).  Does anyone know if
> > a Debian system is susceptible to this problem, and if so, which
> > files may have been created world-writable?
> 
> solution: switch back to 2.2 kernels or upgrade to 2.4.7 which finally
> fixes this and sets the default umask back to 022.

You can also set the umask used by init to spawn processes in 
/etc/initscript. See initscript(5).

-sami.



Reply to: