Subject: Re: Umask Question
To: Jeff Flowers <jeffrey@jeffreyf.net>
From: SAR <s_a_r_ieee@cox.net>
List: netbsd-help
Date: 05/27/2002 20:06:08
On Mon, 27 May 2002 22:40:58 -0400 (EDT)
Jeff Flowers <jeffrey@jeffreyf.net> wrote:
> I was wondering if anyone could explain how to set the default umask
> for a particular user? The umask man page does not tell me how and
> apropos doesn't turn up anything else.
Easy, you set it in the user's login script. For example, I use Korn shell.
I set mine in my .kshrc file. For example:
umask 077
This is a fairly restrictive example. Hope this helps.
> Thanks!
You're welcome.
> Jeff Flowers
> jeffrey@jeffreyf.net
>
> NetBSD rocks!
That it do!
SAR
sar@computer.org