mirror of
https://github.com/kaboomserver/framework.git
synced 2025-08-04 11:35:59 +00:00
Restrict access to plugins folder
This commit is contained in:
parent
36225a3bad
commit
d174f7c365
1 changed files with 3 additions and 0 deletions
|
@ -13,6 +13,9 @@ cd ~/server/
|
||||||
while true; do
|
while true; do
|
||||||
# Make certain files and folders read-only
|
# 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/bStats/
|
||||||
chmod -R 500 plugins/PluginMetrics/
|
chmod -R 500 plugins/PluginMetrics/
|
||||||
chmod -R 500 plugins/ProtocolLib/
|
chmod -R 500 plugins/ProtocolLib/
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue