Share Config Folder (Docker Installation)

Hi all,

**Tldr **
Whats the best way to Share the config folder on docker installation to make them accessable from a windows machine with VisualStudioCode?

I browsed the web and the documentation without success.

I installed HomeAssistant on the Jetson Nano with Docker Installation.
I shared the docker folder with samba. /home/Homeassistant.

I am not able to edit the files. I can only see them. It also does not feel right to do it this way.

Whats the best way to be able to see and edit the files?

Thanks in advance

Toto

Your Samba permissions are probably not correct, since the files should be owned by root.

1 Like

Hi,

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?

1 Like

[toto-user-dir]
path = /home/toto/
comment = No comment
browsable = yes
read only = no
valid users =
writable = yes
guest ok = yes
public = yes
create mask = 0777
directory mask = 0777
force user = root
force create mode = 0777
force directory mode = 0777
hosts allow =

I use the dperson/samba container on my docker installs to share folders.

Perfect worked a treat, thank you.

1 Like