咨询热线:4006-75-4006
售前:9:00-23:30 备案:9:00-18:00 技术:7*24h
可以用$ll查看文件夹所有者
然后在执行权限命令
for user:
chown -fR
For grp:
chgrp -fR
列如
chown -R www.landui.com /data/wwwroot/www.landui.com/
find /data/wwwroot/www.landui.com -type d -exec chmod 755 {} \;
find /data/wwwroot/www.landui.com -type f -exec chmod 644 {} \;