Assuming the default value for umask, which is 022, the permissions on new files would be set to 644 and the permissions on new directories would be set to 755. The umask value is subtracted from the base permissions of 666 for files and 777 for directories to determine the actual permissions. For example, 666 - 022 = 644 for files and 777 - 022 = 755 for directories. References:https://documentation.suse.com/sles/15-SP3/html/SLES-all/sec-file-permissions.html#sec-file-permissions-umask
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit