chcon コマンド
chcon -t 型 パス
ファイルのSELinux文脈を一時的に変更する。恒久化は semanage+restorecon が正道。
使用例
chcon -t httpd_sys_content_t /home/www/index.htmlWeb配信可能な型を一時付与chcon コマンドchcon -t 型 パス
ファイルのSELinux文脈を一時的に変更する。恒久化は semanage+restorecon が正道。
chcon -t httpd_sys_content_t /home/www/index.htmlWeb配信可能な型を一時付与