You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
646 B
29 lines
646 B
1 month ago
|
#!/bin/sh
|
||
|
|
||
|
cd /data/mmogrun
|
||
|
|
||
|
if [! -d /data/mmogrun/publish/log]; then
|
||
|
mkdir /data/mmogrun/publish/log
|
||
|
fi
|
||
|
|
||
|
chmod 755 `find ./publish -type d`
|
||
|
chmod 755 `find ./publish -type d`
|
||
|
chmod 755 `find ./publish -type d`
|
||
|
chmod 755 `find ./publish -type d`
|
||
|
chmod 755 `find ./publish -type d`
|
||
|
|
||
|
chmod 644 `find ./publish/bin -type f`
|
||
|
chmod 644 `find ./publish/cfg -type f`
|
||
|
chmod 644 `find ./publish/log -type f`
|
||
|
chmod 644 `find ./publish/tools -type f`
|
||
|
|
||
|
cd /data/mmogrun/publish/ctrl_sh
|
||
|
chmod 744 ./*.sh
|
||
|
cd /data/mmogrun/publish/bin
|
||
|
chmod 744 ./SogLoader
|
||
|
|
||
|
if [-d /data/mmogrun/publish/ta-logBus]; then
|
||
|
cd /data/mmogrun/publish/ta-logBus/bin
|
||
|
chmod 744 ./*
|
||
|
fi
|