一、出現原因:
提示內容意是網站禁止訪問,沒有管理員權限。
二、解決:
解析:
ls -Z -d
public_html/
#顯示文件/目錄的安全語境-Z, --context
Display security context so it
fits on most displays. Displays only mode, user, group, security context and
file name.-d, --directory
list directory entries instead of contents, and do
not dereference symbolic links
chcon -R -t httpd_user_content_t
public_html/
#修改文件/目錄的安全語境-R, --recursive
change files and directories
recursively-t, --type
set type TYPE in the target security context
做網站找實速,專業網站制作設計平臺