I have a similar issue, I’m running hassio via docker on an OpenMediaVault pc. I’ve added the following to my /etc/samba/smb.conf. I can now see the folder alone with my other shares, however I don’t have permission as this folder is owned by root.
[hassio]
comment = home assistant all dirs
path = /usr/share/hassio
browseable = yes
create mask = 0777
directory mask = 0777
writeable = yes
read only = no
Therefore how do I configure the samba share to allow the user from a remote machine to write / edit the shared folder?