VpsEE's Archiver
論壇
›
WordPress
› 如何設定網站根目錄權限 ?
yungke
發表於 2025-11-25 14:57:52
如何設定網站根目錄權限 ?
網站根目錄權限遵循:
文件 644 資料夾 755
權限使用者和使用者群組 www,其餘文件 777 權限是不正常的,如出現檔案權限問題時,請執行下面 3 條指令:
chown -R www.www /data/wwwroot/
find /data/wwwroot/ -type d -exec chmod 755 {} \;
find /data/wwwroot/ -type f -exec chmod 644 {} \;
頁:
[1]
查看完整版本:
如何設定網站根目錄權限 ?