[data]
path = /home/samba/data
browseable = yes
guest ok = yes
writeable = yes
force user = myself
force group = themselves
create mask = 744
directory mask = 755
Bottom two lines, which the earlier is the mask for file, and the latter is for folder.