Subject: Re: Default file permissions...
To: None <netbsd-help@netbsd.org>
From: James K. Lowden <jklowden@schemamania.org>
List: netbsd-help
Date: 02/05/2002 21:38:10
On Tue, Feb 05, 2002 at 08:14:41PM -0600, Brady 'C-Man' Owens wrote:
> I was wondering how you change the default file permissions for when a user 
> writes a file to the drive?

Brady, 

It's a shell built-in, controlled by .profile in the case of /bin/sh. 

You can see what it's set to:

	$ umask
	0022
	
and try 'man umask' to understand the meaning of the mask.  

Regards, 

--jkl