From: Nikos Mavrogiannopoulos Date: Thu, 9 Nov 2023 19:06:34 +0000 (+0100) Subject: tang: set the right permissions to keys X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=8282c0f846a1c3343df3a630e2c403ac244a932d;p=feed%2Fpackages.git tang: set the right permissions to keys Resolves: #22632 Signed-off-by: Nikos Mavrogiannopoulos --- diff --git a/utils/tang/files/tang.init b/utils/tang/files/tang.init index ea4045f2e1..efcd3f2ccf 100644 --- a/utils/tang/files/tang.init +++ b/utils/tang/files/tang.init @@ -8,6 +8,7 @@ start_service() { if [ -z "${KEYS}" ] || [ "${KEYS}" = "0" ]; then # if db is empty generate new key pair mkdir -p /usr/share/tang/db /usr/sbin/tangd-keygen /usr/share/tang/db + chown -R tang /usr/share/tang/db fi config_load "tang"