umask man page on HP-UX

Man page or keyword search:  
man Server   10987 pages
apropos Keyword Search (all sections)
Output format
HP-UX logo
[printable version]

umask(2)							      umask(2)

NAME
       umask - set and get file creation mask

SYNOPSIS
DESCRIPTION
       sets  the  process's  file  mode creation mask to cmask and returns the
       previous value of the mask.  Only the file access  permission  bits  of
       the masks are used.

       The  bits set in cmask specify which permission bits to turn off in the
       mode of the created file, and should be specified  using	 the  symbolic
       values defined in stat(5).

EXAMPLES
       The  following  creates a file named in the current directory with per‐
       missions so that the file can be written only by its owner, and can  be
       read  or executed only by the owner or processes with group permission,
       even though group write permission and all permissions for  others  are
       passed in to

RETURN VALUE
       The previous value of the file mode creation mask is returned.

SEE ALSO
       mkdir(1), sh(1), mknod(1M), chmod(2), creat(2), mknod(2), open(2).

STANDARDS CONFORMANCE
								      umask(2)
[top]

List of man pages available for HP-UX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net