How can I set default group owner & permissions for any new file created under /data/user-name/ ?
I want any new file created under /data/user-name/ to have the following properties: 1) group owner = marketing 2) owner permissions = rwx 3) group permissions = rwx 4) other permissions = r--
touch /data/user-name/test.file
ls -lah /data/user-name/test.file
should produce
-rwxrwxr-- 1 username marketing 0B Apr 7 13:23 test.file
I cannot figure out how to accomplish this. Thank you!!!