So i followed the guide here to install Ha on Synology Nas. I got pass the creation of the hass-daemon file and did the rest of the settings in the guide. Now i got to the part to start the HA service with the command
“sudo /volume1/homeassistant/hass-daemon start”
that returns
Starting Home Assistant …
/bin/sh: /volume1/homeassistant/home-assistant.log: Permission denied
what did i miss to not get the permission to start the service ?
Actually, I ran nto the same issue as described by the OP. The chmod command in the tutorial makes it so, that the config directory (and subdirs) do not get the executable bit set in the permissions. This is required for directories.
I fixed this by issuing the following:
chmod 755 /volume1/homeassistant/
chmod 755 $(find /volume1/homeassistant/homeassistant/ -type d) # was not sure if symlinks get followed; fixes directory permissions recursively
chmod 664 $(find /volume1/homeassistant/homeassistant/ -type f) # fixes file permissions recursively
chmod 777 /volume1/homeassistant/hass-daemon