I have a software RAID array set up on PC with Ubuntu 16.04 Gnome, with the resulting /dev/md0 formatted as EXT4 and mounted as /RAID. I'm using Samba to share various directories from this machine's /RAID (Example /RAID/Documents). New files are getting created with mode bits 744 (from a windows machine) or 644 (from a linux machine). This leads to a user creating a file, then another user cannot edit the file.
In creating users for Samba sharing, I added them with no home directory, so there are no user-related ~/.profile, ~/.bashrc, etc. to modify (except for my login). I've tried to affect a new umask by changing "session optional pam_umask.so" to "session optional pam_umask.so 0000" in /etc/pam.d/common-session. I've also tried changing the umask in /etc/login.defs. These all seem to be associated with new users, however, and they certainly don't seem to be changing anything for me.
How do I affect default mode bits for new files and directories, so directories will be 777 and files will be 666? It sounds like one approach may be to use an ACL, but I was hoping to not have to go through that learning curve!
Thanks, in advance! Scott