How to set and update the default umask value?
We can set and update the default umask value using the command umask followed by a parameter, which should be an integer ranging from 000-777. The syntax for updating the umask value is the same as setting the umask value.
Setting the umask value:
We can use the umask command to set the default permissions with which the files/directories will be created.
Syntax
$umask 543
Umask command in Linux with examples
The umask command in Linux is used to set default permissions for files or directories the user creates.