*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> umask (1)              
Title
Content
Arch
Section
 

Contents


UMASK(1)							      UMASK(1)


NAME    [Toc]    [Back]

     umask - set file-creation mode mask

SYNOPSIS    [Toc]    [Back]

     umask [ ooo ]

DESCRIPTION    [Toc]    [Back]

     The user file-creation mode mask is set to	ooo.  The three	octal digits
     refer to read/write/execute permissions for owner,	group, and others,
     respectively (see chmod(2)	and umask(2)).	The value of each specified
     digit is subtracted from the corresponding	``digit'' specified by the
     system for	the creation of	a file (see creat(2)).	For example, umask 022
     removes group and others write permission (files normally created with
     mode 777 become mode 755; files created with mode 666 become mode 644).

     If	ooo is omitted,	the current value of the mask is printed.

     umask is recognized and executed by the shell.

     umask can be included in the user's .profile or .login file (see
     profile(4)	and cshrc(4)) and invoked at login to automatically set	the
     user's permissions	on files or directories	created.  The default for all
     logins is set in /etc/default/login before	the user's shell is started.

SEE ALSO    [Toc]    [Back]

      
      
     chmod(1), sh(1), chmod(2),	creat(2), umask(2), cshrc(4), profile(4)


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
umask NetBSD set file creation mode mask
umask FreeBSD set file creation mode mask
umask OpenBSD set file creation mode mask
umask HP-UX set or display the file mode creation mask
umask Tru64 Displays or sets the file mode creation mask
umask IRIX set and get file creation mask
umask HP-UX set and get file creation mask
umask Linux set file creation mask
umask Tru64 Sets and gets the value of the file creation mask
pxfumask IRIX Sets the file creation mask
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service