指定用户跟用户组
chown -R www.www /data/code/配置文件夹权限
find /data/code/ -type d -exec chmod 755 {} \;配置文件权限
find /data/code/ -type f -exec chmod 644 {} \; chown -R www.www /data/code/find /data/code/ -type d -exec chmod 755 {} \;find /data/code/ -type f -exec chmod 644 {} \;
评论 (0)