mirror of
https://github.com/kaboomserver/buildpack.git
synced 2024-11-20 06:15:44 +00:00
Fix permission issues
This commit is contained in:
parent
ba85681531
commit
8220968548
2 changed files with 2 additions and 2 deletions
|
@ -4,7 +4,6 @@ BUILD_DIR=$1
|
|||
|
||||
mkdir -p $BUILD_DIR/bin/
|
||||
mv $BIN_DIR/start $BUILD_DIR/bin/
|
||||
mv $BIN_DIR/cron $BUILD_DIR/bin/
|
||||
mv $BIN_DIR/excludes $BUILD_DIR/bin/
|
||||
|
||||
curl -o $BUILD_DIR/minecraft-server.jar -s -L "https://yivesmirror.com/files/paperspigot/PaperSpigot-latest.jar"
|
||||
|
|
|
@ -2,8 +2,9 @@
|
|||
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 -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/ .
|
||||
|
||||
if [ ! -d worlds/ ]; then
|
||||
|
|
Loading…
Reference in a new issue