 | | Convention dictates that whenever a file is created with creat or open, the permission bits should be specified as 0666 (read/write for owner, group, and world). Each user can then use the umask value to control the actual permissions with which the file is created. For example, if a file is created with mode 0666 and the user's umask is 022, you get: | |
|