#!/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