From 881d4304bc78abc7b07f8b2d5c3b214309d7d8ae Mon Sep 17 00:00:00 2001 From: sidey79 <7968127+sidey79@users.noreply.github.com> Date: Sun, 1 Dec 2024 22:25:34 +0100 Subject: [PATCH] fix[entry.sh]: Corrected chown syntax --- src/entry.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/entry.sh b/src/entry.sh index ed4abfa..d3fa574 100755 --- a/src/entry.sh +++ b/src/entry.sh @@ -58,7 +58,7 @@ fi touch ${ALEXAFHEM_DIR}/.ssh/known_hosts cat ${ALEXAFHEM_DIR}/.ssh/known_hosts /ssh_known_hosts.txt | grep -v ^# | sort -u -k2,3 > ${ALEXAFHEM_DIR}/.ssh/known_hosts.tmp mv -f ${ALEXAFHEM_DIR}/.ssh/known_hosts.tmp ${ALEXAFHEM_DIR}/.ssh/known_hosts -chown -R alexa-fhem.alexa-fhem ${ALEXAFHEM_DIR}/.ssh/ +chown -R alexa-fhem:alexa-fhem ${ALEXAFHEM_DIR}/.ssh/ if [[ ! -L /alexa-fhem/.alexa/config.json && -f /alexa-fhem/.alexa/config.json && ! -e /alexa-fhem/config.json ]]; then echo " - Moving configuration from /alexa-fhem/.alexa/config.json to /alexa-fhem/config.json ..."