Logic Behind User Masks(umask)??

Posted by Own_Wallaby_526@reddit | linuxadmin | View on Reddit | 22 comments

Hey, I am new to learning Linux system administration and I wanted to ask this:-

What is the point of umask(user masks)? I get the default permission part but I don't like the subtracting part of it. Why can't processes/programs who create files just have base permissions set for the type of the file(directory, regular files, sockets, symbolic links.....).

We already do have base permissions which are global and umask for different processes. Again, why couldn't we just have had base permissions changing depending on the process??

Why go the lengthy route of subtracting from the base permissions to get the actual permissions??