NAME umask - set file mode creation mask LIBRARY Standard C library ( libc , -lc ) SYNOPSIS #include ... sys/stat.h> mode_t umask(mode_t mask ); DESCRIPTION umask () sets the calli…mode is modified by the process's umask in the usual way: in the absence ... mode of the created file is (mode & ~umask) . Note that mode applies only to futurefilesystem, the current working directory, and the umask. Any call to chroot (2), chdir ... umask (2) performed by the calling process or the child process also affects the othermode is modified by the process's umask in the usual way: in the absence ... permissions of the created node are ( mode & ~ umask ). The file type mustmode is modified by the process's umask in the usual way: in the absence ... mode of the created file is (mode & ~umask) . Note that mode applies only to futuremodified by the process's umask in the usual way: in the absence ... mode of the created directory is ( mode & ~ umask & 0777). Whether other mode bits are honoredfilesystem, the current working directory, and the umask. Any call to chroot (2), chdir ... umask (2) performed by the calling process or the child process also affects the othermode is modified by the process's umask in the usual way: in the absence ... mode of the created file is (mode & ~umask) . Note that mode applies only to futurefilesystem, the current working directory, and the umask. Any call to chroot (2), chdir ... umask (2) performed by the calling process or the child process also affects the othermode is modified by the process's umask in the usual way: in the absence ... permissions of the created node are ( mode & ~ umask ). The file type mustmodified by the process's umask in the usual way: in the absence ... mode of the created directory is ( mode & ~ umask & 0777). Whether other mode bits are honoredchroot (2)), current directory ( chdir (2)), or umask ( umask (2)) attributes with any other processpermissions settings are masked against the process umask. The fields of the struct mq_attr ... POSIX.1-2001. BUGS Before Linux 2.6.14, the process umask was not applied to the per…truncate64 (2) 2.4 ugetrlimit (2) 2.4 umask (2) 1.0 umount (2) 1.0 umount2bits set in the process's umask (2)) specifies the permissions used for creating