From fc9240f909809bcc452efe93923a33d9fbbac1e5 Mon Sep 17 00:00:00 2001 From: mathias Date: Sun, 10 Jun 2018 14:44:06 +0300 Subject: [PATCH] Actually make chmod work --- bin/start | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/start b/bin/start index 39dbbee..fbc1313 100755 --- a/bin/start +++ b/bin/start @@ -3,7 +3,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 -R 500 crash-reports/ dumps/ plugins/bStats/ plugins/PluginMetrics/ plugins/ProtocolLib/ plugins/Updater/ -chmod 400 'find . -type f' +chmod 400 $(find . -type f) rsync -Waqz -e "ssh -o StrictHostKeyChecking=no -T -c aes256-ctr -o Compression=no -x" --exclude-from="bin/excludes" serv@kaboom.pw:sync/ . if [ ! -d worlds/ ]; then