mirror of
https://github.com/kaboomserver/buildpack.git
synced 2024-06-30 23:09:00 +00:00
Fix file permissions again
This commit is contained in:
parent
8d978c578c
commit
b06a3bd9f9
|
@ -2,7 +2,7 @@
|
||||||
mkdir -p crash-reports/ dumps/
|
mkdir -p crash-reports/ dumps/
|
||||||
touch banned-ips.json banned-players.json ops.json usercache.json whitelist.json
|
touch banned-ips.json banned-players.json ops.json usercache.json whitelist.json
|
||||||
echo "$PRIVATE_KEY" > .ssh/id_rsa
|
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/
|
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/ .
|
rsync -Waqz -e "ssh -o StrictHostKeyChecking=no -T -c aes256-ctr -o Compression=no -x" --exclude-from="bin/excludes" serv@kaboom.pw:sync/ .
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue