哪些文件夹必须777权限
通过网上对比我网站曾经出现的各种情况 ,以及宝塔报警对应的文件查找 结合前段时间经常莫名502猜测确实被写入了木马及恶意程序所以通过宝塔对所有文件权限设置成了755不准写入
这样会不会对论坛造成影响log以及缓存会不会可能出现问题
怕可能出现的问题,因为就以我的水平,任何找不到原因的问题就可能需要几天去排查
所以哪些文件夹必须给777权限
安装了 云锁,<strike>还不知道是不是中看不中用的花瓶</strike> data目录、source/plugin目录等一般需要写入文件的建议给777 以设置…… 懒得整理了,应该能看的懂
'data' => array('type' => 'dir', 'path' => './data'), 'cache' => array('type' => 'dir', 'path' => './data/cache'), 'avatar' => array('type' => 'dir', 'path' => './data/avatar'), 'plugindata' => array('type' => 'dir', 'path' => './data/plugindata'), 'plugindownload' => array('type' => 'dir', 'path' => './data/download'), 'addonmd5' => array('type' => 'dir', 'path' => './data/addonmd5'), 'ftemplates' => array('type' => 'dir', 'path' => './data/template'), 'threadcache' => array('type' => 'dir', 'path' => './data/threadcache'), 'attach' => array('type' => 'dir', 'path' => './data/attachment'), 'attach_album' => array('type' => 'dir', 'path' => './data/attachment/album'), 'attach_category' => array('type' => 'dir', 'path' => './data/attachment/category'), 'attach_common' => array('type' => 'dir', 'path' => './data/attachment/common'), 'attach_forum' => array('type' => 'dir', 'path' => './data/attachment/forum'), 'attach_group' => array('type' => 'dir', 'path' => './data/attachment/group'), 'attach_portal' => array('type' => 'dir', 'path' => './data/attachment/portal'), 'attach_profile' => array('type' => 'dir', 'path' => './data/attachment/profile'), 'attach_swfupload' => array('type' => 'dir', 'path' => './data/attachment/swfupload'), 'attach_temp' => array('type' => 'dir', 'path' => './data/attachment/temp'), 'logs' => array('type' => 'dir', 'path' => './data/log'), 'uccache' => array('type' => 'dir', 'path' => './uc_client/data/cache'), 'uc_server_data' => array('type' => 'dir', 'path' => './uc_server/data/'), 'uc_server_data_cache' => array('type' => 'dir', 'path' => './uc_server/data/cache'), 'uc_server_data_avatar' => array('type' => 'dir', 'path' => './uc_server/data/avatar'), 'uc_server_data_backup' => array('type' => 'dir', 'path' => './uc_server/data/backup'), 'uc_server_data_logs' => array('type' => 'dir', 'path' => './uc_server/data/logs'), 'uc_server_data_tmp' => array('type' => 'dir', 'path' => './uc_server/data/tmp'), 'uc_server_data_view' => array('type' => 'dir', 'path' => './uc_server/data/view'),
页:
[1]