Don't make certain files read-only

This commit is contained in:
mathias 2018-08-05 16:45:37 +03:00
parent 836c244c59
commit 0dd33a4bda

View file

@ -1,6 +1,5 @@
#!/bin/bash
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 "*/.*" -type f)
chmod -R 500 crash-reports/ dumps/ plugins/bStats/ plugins/PluginMetrics/ plugins/ProtocolLib/ plugins/Updater/