Actually make chmod work

This commit is contained in:
mathias 2018-06-10 14:44:06 +03:00
parent 284f39b1d1
commit fc9240f909

View file

@ -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