mirror of
https://github.com/kaboomserver/framework.git
synced 2024-11-24 08:08:20 -05:00
Disable write access to debug/ folder
This commit is contained in:
parent
d174f7c365
commit
add6024867
1 changed files with 3 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue