Annotation of coherent/a/usr/man/COHERENT/umask.c, revision 1.1

1.1     ! root        1: 
        !             2: 
        !             3: umask                        Command                        umask
        !             4: 
        !             5: 
        !             6: 
        !             7: 
        !             8: Set the file-creation mask
        !             9: 
        !            10: uummaasskk [_m_a_s_k]
        !            11: 
        !            12: The _f_i_l_e-_c_r_e_a_t_i_o_n _m_a_s_k modifies the default mode assigned to each
        !            13: file upon creation.  The mode sets the permissions granted by the
        !            14: file's owner, plus other important information about a file.
        !            15: 
        !            16: The command  uummaasskk sets the  default file-creation mask  to _m_a_s_k.
        !            17: _m_a_s_k is  usually entered  as an octal  number prefixed by  a zero
        !            18: digit.  If invoked  without an argument, uummaasskk prints the current
        !            19: file-creation mask in octal.
        !            20: 
        !            21: See the Lexicon entries for uummaasskk() and cchhmmoodd for details on file
        !            22: mode.  The shell executes uummaasskk directly.
        !            23: 
        !            24: ***** Example *****
        !            25: 
        !            26: Setting  _m_a_s_k to  octal 022  (i.e.,  000 010  010) causes  a file
        !            27: created with mode octal 0666 to actually have permissions of
        !            28: 
        !            29: 
        !            30:         rw- r-- r--
        !            31: 
        !            32: 
        !            33: Setting _m_a_s_k  to zero (i.e.,  000 000 000) causes  a file created
        !            34: with mode octal 0666 to actually have permissions of
        !            35: 
        !            36: 
        !            37:         rw- rw- rw-
        !            38: 
        !            39: 
        !            40: ***** See Also *****
        !            41: 
        !            42: cchhmmoodd, ccoommmmaannddss, kksshh, sshh
        !            43: 
        !            44: 
        !            45: 
        !            46: 
        !            47: 
        !            48: 
        !            49: 
        !            50: 
        !            51: 
        !            52: 
        !            53: 
        !            54: 
        !            55: 
        !            56: 
        !            57: 
        !            58: 
        !            59: 
        !            60: 
        !            61: 
        !            62: 
        !            63: 
        !            64: COHERENT Lexicon                                           Page 1
        !            65: 
        !            66: 

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.