Disable write access to debug/ folder

This commit is contained in:
mathiascode 2020-12-12 20:35:51 +02:00
parent d174f7c365
commit add6024867

View file

@ -13,12 +13,9 @@ cd ~/server/
while true; do
# Make certain files and folders read-only
mkdir plugins/update/
chmod -R 500 plugins/update/
chmod 500 plugins/
chmod -R 500 plugins/bStats/
chmod -R 500 plugins/PluginMetrics/
chmod -R 500 plugins/ProtocolLib/
mkdir debug/ dumps/ plugins/update/
chmod -R 500 debug/ dumps/ plugins/bStats/ plugins/PluginMetrics/ plugins/ProtocolLib/ plugins/update/
chmod 500 plugins/
chmod 400 bukkit.yml
chmod 400 commands.yml
chmod 400 eula.txt