|
|
1.1 ! root 1: ! 2: ! 3: umask() COHERENT System Call umask() ! 4: ! 5: ! 6: ! 7: ! 8: Set file creation mask ! 9: ! 10: iinntt uummaasskk(_m_a_s_k) ! 11: iinntt _m_a_s_k; ! 12: ! 13: umask allows a process to restrict the mode of files it creates. ! 14: Commands that create files should specify the maximum reasonable ! 15: mode. A parent (e.g. the shell sh) usually calls umask to ! 16: restrict access to files created by subsequent commands. ! 17: ! 18: mask should be constructed from any of the permission bits found ! 19: in chmod (the low-order nine bits). When a file is created with ! 20: creat or mknod, the bits specified by mask are zeroed in mode; ! 21: thus, bits set in mask specify permissions which will be denied. ! 22: ! 23: umask returns the old value of the file creation mask. ! 24: ! 25: ***** See Also ***** ! 26: ! 27: COHERENT system calls, creat(), mknod(), sh ! 28: ! 29: ! 30: ! 31: ! 32: ! 33: ! 34: ! 35: ! 36: ! 37: ! 38: ! 39: ! 40: ! 41: ! 42: ! 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:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.