Ravi Sir's Cards › AWS
chcon vs semanage fcontext
What is a VPC: your own private network inside one AWS Region, example ThreeTierVpc 10.0.0.0/16.
Read card text
What this card says
SELinux
chcon
Temporary label.
semanage fcontext
Persistent rule.
Key points
Lost on relabel.
Applied by restorecon.
Example
chcon -t httpd_sys_content_t f
Use when
Quick test.
Exams and production.