From b06a3bd9f90e2b6a2fc30dc3cde40da204347fa4 Mon Sep 17 00:00:00 2001 From: mathias Date: Thu, 5 Jul 2018 22:30:16 +0300 Subject: [PATCH] Fix file permissions again --- bin/start | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/start b/bin/start index 5b88100..44035c4 100755 --- a/bin/start +++ b/bin/start @@ -2,7 +2,7 @@ mkdir -p crash-reports/ dumps/ touch banned-ips.json banned-players.json ops.json usercache.json whitelist.json echo "$PRIVATE_KEY" > .ssh/id_rsa -chmod 400 $(find . ! -path "*/.*" ! -path "worlds/world/region/" -type f) +chmod 400 $(find . ! -path "*/.*" ! -path "./worlds/world/region/*" -type f) chmod -R 500 crash-reports/ dumps/ plugins/bStats/ plugins/PluginMetrics/ plugins/ProtocolLib/ plugins/Updater/ rsync -Waqz -e "ssh -o StrictHostKeyChecking=no -T -c aes256-ctr -o Compression=no -x" --exclude-from="bin/excludes" serv@kaboom.pw:sync/ .