Samba is running, but no write access to configuration.yaml

Hi, I have tried a lot but I am not getting write access from my windows machine to the configuration.yaml

  • I made a separate linux user, and also created it as a samba user (sambapi)
  • my /etc/samba/smb.conf looks like this (and is restart):
[hassie]
   path = /home/homeassistant/.homeassistant
   valid users = sambapi
   writeable = yes
   browsable = yes
   writable = yes
   write list = sambapi
   create mask = 0755
   force user = sambapi 
  • I can browse and read it through windows explorer
  • but… I cannot save any changes I make in notepad ++ in configuration.yaml, an error message is shown that there is possibly no access.

Disclaimer, I don’t have a hass.io, but a python venv on my rpi3b because there is more running on it.
And I’m kindoff a Linux noob (but getting up to speed very fast :wink: )

Your venv is not running as sambapi, so sambapi is not the owner of configuration.yaml.

1 Like