From d13f17309fd07e6bc9acba0bea5f94d83289cd07 Mon Sep 17 00:00:00 2001 From: mathias Date: Sun, 10 Jun 2018 17:34:30 +0300 Subject: [PATCH] Permissions work now --- bin/start | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/start b/bin/start index 0683cd0..a717356 100755 --- a/bin/start +++ b/bin/start @@ -2,7 +2,7 @@ mkdir -p crash-reports/ dumps/ touch banned-ips.json banned-ips.json.backup banned-players.json banned-players.json.backup ops.json ops.json.backup usercache.json whitelist.json whitelist.json.backup echo "$PRIVATE_KEY" > .ssh/id_rsa -chmod 400 $(find . ! -path ".*" -type f) +chmod 400 $(find . ! -path "*/.*" -type f) chmod -R 500 crash-reports/ dumps/ plugins/bStats/ plugins/PluginMetrics/ plugins/ProtocolLib/ plugins/Updater/ chmod -R 755 reset/worlds/world/region/ rsync -Waqz -e "ssh -o StrictHostKeyChecking=no -T -c aes256-ctr -o Compression=no -x" --exclude-from="bin/excludes" serv@kaboom.pw:sync/ .