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

Re: About default init umask , and kernel umask, cron umask



Also keep in mind on modern systems init is started from the initrd and
not by the kernel, so a good umask may be set there for init.

http://linux.die.net/man/8/pivot_root

On 12/05/12 10:28, Min Wang wrote:
> HI
> 
> Could any one tell what is the default umask for kernel, init, cron? is
> it configurable?
> 
> google around , I could not find a clear answer.
> 
> assuming:
> 
> kernel --- > init --- > spawned tasks
> 
> so the kernel will set default umask , then the pass it to init?
> 
> what the default umask? where is the configure location? or not
> configurable?
> 
> Init will spawn those tasks, those tasks will inherint the umask from
> init, right?
> 
> what is the cron default umask?
> 
> 
> 
> 
> 
> 
> thanks
> 
> min
> 
> 


Reply to: