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

Re: umask for init?



On Sun, 17 Jan 2010 06:45:09 +0100, Peter Jordan wrote:
> Hi,
>
> under debian lenny during the boot process all created run files are  
> 0644, but I want 0640.
>
> Does anyone know how to configure that?
>
> Thanks
>
> PJ
>
>
> -- 
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a 
> subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>

Hello,

In your /etc/profile you should have this command :
umask 0137
instead of umask 0133

If the solution point only one user you can add this command in the .bashrc
file or .bash_profile file...

Hope this will help.

Regards.
-- 
Laurent Guignard, Registered as user #301590 with the Linux Counter
Site : http://www.famille-guignard.org
Blog : http://blog.famille-guignard.org
Projet : http://sicontact.sourceforge.net
GULL de Villefranche sur Saône : http://www.cagull.org



Reply to: