From 566111ce82429086f82d1be11ba89e7477700f7f Mon Sep 17 00:00:00 2001 From: Richard Steinmetz Date: Sun, 12 Jun 2022 23:21:43 +0200 Subject: [PATCH] Fix TRILIUM_DATA_DIR permissions in start-docker.sh Signed-off-by: Richard Steinmetz --- start-docker.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/start-docker.sh b/start-docker.sh index e214560ea..b0c36c328 100755 --- a/start-docker.sh +++ b/start-docker.sh @@ -1,4 +1,5 @@ #!/bin/sh chown -R node:node /home/node +[ -d "$TRILIUM_DATA_DIR" ] && chown -R node:node "$TRILIUM_DATA_DIR" su-exec node node ./src/www