https://geek-university.com/linux/set-the-default-permissions-for-newly-created-files/
So I want my umask (command) which in this case is 0002 to be subtracted (bitwise) from 666 for files and 777 default base permissions for folders. For example, the result here for a file would be 664.
This is so I can change the permissions of files I created with chmod using that new mask which is of course the default mask when you create a file with touch for example.
How can I accomplish this?