From 50e4cec1fffdfee9e823e555a2c2da6c9616c067 Mon Sep 17 00:00:00 2001 From: Jerry Workman Date: Sat, 27 Jan 2018 12:18:16 -0500 Subject: [PATCH] Fix symbolic links, permissions and ownership (#4528) Fix symbolic links to python3 and homeassistant executable. Fix permissions and ownership to homeassistant directory to allow writing to home-assistant.log. --- source/_docs/installation/synology.markdown | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/source/_docs/installation/synology.markdown b/source/_docs/installation/synology.markdown index 34e228ebb59..9edf9fbb001 100644 --- a/source/_docs/installation/synology.markdown +++ b/source/_docs/installation/synology.markdown @@ -61,6 +61,8 @@ Create homeassistant config directory & switch to it ```bash # mkdir /volume1/homeassistant +# chown /volume1/homeassistant homeassistant +# chmod 755 /volume1/homeassistant # cd /volume1/homeassistant ``` Hint: alternatively you can also create a "Shared Folder" via Synology WebUI (e.g. via "File Station") - this has the advantage that the folder is visible via "File Station". @@ -175,8 +177,8 @@ esac Create links to python folders to make things easier in the future: ```bash -# ln -s /volume1/@appstore/py3k/usr/local/bin python3 -# ln -s /volume1/@appstore/py3k/usr/local/lib/python3.5/site-packages/homeassistant +# ln -s /volume1/@appstore/py3k/usr/local/bin/python3 python3 +# ln -s /volume1/@appstore/py3k/usr/local/lib/python3.5/site-packages/homeassistant homeassistant ``` Set the owner and permissions on your config folder