Score:0

SELINUX : How to make child folder rule precedence higher than parent rule

th flag

SELINUX : How to make child folder rule precedence higher than parent rule eg :

/home/kevinw/www/kp/storage(/.*)? all files system_u:object_r:httpd_sys_rw_content_t:s0

lost to /home/kevinw/www(/.*)? all files system_u:object_r:httpd_user_content_t:s0

Or my concept are wrong as it already set on the parent?

Any help is appreciated

Score:0
th flag

Well, by default we can force restore the child folder to not follow the parent folder

restorecon -RFv /path/to/folder

or using chcon

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.