These procedures are needed only if your users are not members of the group you have used that is, if within the OS they do not have write permission on the directory.
An alternative is to set in the smb.conf entry for the share:
smb.conf
force user = jack
force group = engr