Hi guys i have a question regarding SEL.

I have a VM that is on centos 7 and before I had an issue with wordpress where it was in read only mode and i ran

chcon -R unconfined_u:object_r:httpd_sys_rw_content_t:s0 /var/www/html/wordpress

 

to put it in read write mode for me to update the site

 

I then ran

 

restorecon -rv /var/www/html to restore things to the way they are.

 

since then i have not had to run the commands again to update the site with any other updates

 

what exactly is happening

 

Regards,

Jonathan