I need my shares be readable by an user, that runs the backup process but not by the whole staff.
Therefore I created an user backup with its group backup. Now I want backup group have read access to the shares so that it reads
-rw-r----- <username> backup filename.txt
backup is the only user in backup group, everyone else is in staff
I set the auxiliary parameters of a share to
Code: Select all
create mask 0640
force group = backupHow do I tell smb to *always* write the file as <username>:backup?


