umask man page on Minix

Man page or keyword search:  
man Server   6208 pages
apropos Keyword Search (all sections)
Output format
Minix logo
[printable version]

UMASK(2)							      UMASK(2)

NAME
       umask - set file creation mode mask

SYNOPSIS
       #include <sys/types.h>
       #include <sys/stat.h>

       mode_t umask(mode_t mask)

DESCRIPTION
       Umask  sets  the	 process's file mode creation mask to mask and returns
       the previous value of the mask.	The low-order 9 bits of mask are  used
       whenever	 a  file  is  created, clearing corresponding bits in the file
       mode (see chmod(2)).  This clearing allows each user  to	 restrict  the
       default access to his files.

       The  value is initially 022 (write access for owner only).  The mask is
       inherited by child processes.

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

SEE ALSO
       chmod(2), mknod(2), open(2).

4th Berkeley Distribution	  May 9, 1985			      UMASK(2)
[top]

List of man pages available for Minix

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