File permissions, ownership ect,ect
I have a linux file server, however I changed all the permissions in the shared samba file to chmod 777 for backup purposes. Now when a user creates a file no one else in the group can read or access any new files created. when I do a ls- l on the said files the user and group are both set to the same name ( for example user david is both the user and group ( the group is touchline)) Is there some way to change the default behaviour so that user davids file have touchline group staus so any one in the group can read the files without me having to manualy change file pemissions?
Thanks in advance!