From 7057b753499d4f7cb9407b0e4e0328c71fde25ee Mon Sep 17 00:00:00 2001 From: "Kevin Veen-Birkenbach [aka. Frantz]" Date: Tue, 19 May 2020 13:51:31 +0200 Subject: [PATCH] Solved permission bug --- scripts/data/export-to-system.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/data/export-to-system.sh b/scripts/data/export-to-system.sh index 4b89d85..1daa464 100644 --- a/scripts/data/export-to-system.sh +++ b/scripts/data/export-to-system.sh @@ -6,6 +6,6 @@ source "$(dirname "$(readlink -f "${0}")")/../base.sh" || (echo "Loading base.sh bash "$SCRIPT_PATH""data/import-from-system.sh" reverse info "Setting right permissions for importet files..." chown -R $USER:$USER ~ -chmod 700 ~/.ssh +chmod -R 700 ~/.ssh chmod 600 ~/.ssh/id_rsa chmod 600 ~/.ssh/id_rsa.pub