Selasa, 03 Desember 2019

How to solved The directory is not writable by the Web process: /var/www/html/

  Tidak ada komentar
How to solved The directory is not writable by the Web process: /var/www/html/myview/frontend/web/assets

Check the selinux status
[[email protected] ~]# sestatus
SELinux status:                 enabled
SELinuxfs mount:                /sys/fs/selinux
SELinux root directory:         /etc/selinux
Loaded policy name:             targeted
Current mode:                   enforcing
Mode from config file:          enforcing
Policy MLS status:              enabled
Policy deny_unknown status:     allowed
Max kernel policy version:      28
[[email protected] ~]#
Allow selinux to httpd for read and write the directory
[[email protected] ~]# chcon -R -t httpd_sys_content_rw_t /var/www/html/myview/
[[email protected] ~]#
Restart the apache
[[email protected] ~]# service httpd restart
Redirecting to /bin/systemctl restart  httpd.service
[[email protected] ~]#







Tidak ada komentar :

Posting Komentar