umask
To set permissions on top of System Default permissions. It cannot grant additional permissions than specified by the System default permission set. To add such additional permissions, use chmod() instead. On multi-threaded systems, this might result in varied behavior as the umask permissions are used throughout the system. Avoid assigning [...]