What is the default permission for the file in Unix 2024?
I'll answer
Earn 20 gold coins for an accepted answer.20
Earn 20 gold coins for an accepted answer.
40more
40more
Works at the International Organization for Migration, Lives in Geneva, Switzerland.
If a file is readable and writable by the owner, a selected group of users, and everyone on the system, its octal permission is 666. The umask command is followed with a number that is subtracted from 777 on directories, and from 666 on files. The result gives the default protection for new directories and files.
2023-05-15 14:19:02
评论(499)
Helpful(122)
Helpful
Helpful(2)

Lily Gonzales
QuesHub.com delivers expert answers and knowledge to you.
If a file is readable and writable by the owner, a selected group of users, and everyone on the system, its octal permission is 666. The umask command is followed with a number that is subtracted from 777 on directories, and from 666 on files. The result gives the default protection for new directories and files.