I have a directory "dir1" who's owner is "owner1" and it has 775 permissions.
Another user in the same group as "owner1" is called "owner2"
Whenever a file is written to "dir1" by "owner2" I need the permissions to be 600, and if it writes a directory, I need it to be 700.
How can I do this? Do I need a UMASK?