все папки 755 файлы 644
#find . -type d -exec chmod 755 {} \;
#find . -type f -exec chmod 444 {} \;
775 на все папки и под папки
cache/
custom/
data/
modules/
#find ./cache/ -type d -exec chmod 775 {} \;
#find ./custom/ -type d -exec chmod 775 {} \;
#find ./data/ -type d -exec chmod 775 {} \;
#find ./modules/ -type d -exec chmod 775 {} \;
664 на все файлы в этих папках
cache/
custom/
data/
modules/
#find ./cache/ -type f -exec chmod 664 {} \;
#find ./custom/ -type f -exec chmod 664 {} \;
#find ./data/ -type f -exec chmod 664 {} \;
#find ./modules/ -type f -exec chmod 664 {} \;
640 на config.php и config_override.php
#chmod 640 config.php config_override.php
664 на sugarcrm.log
#chmod 664 sugarcrm.log
Комментариев нет:
Отправить комментарий