Re: Files created with the wrong context
Dridi Boukelmoune <[email protected]> Thu, 25 May 2023 12:38:14 +0000
| Newsgroups | gmane.linux.redhat.fedora.selinux |
|---|---|
| Message-ID | <CAJYncsjzCQYsk73itQtsxFBY7DD9VVaa+n6+PkeWjgCNHP_BfQ@mail.gmail.com> |
> Hi, > > Not sure if I understand properly, but I believe what you need is a file transition, defined for the domain which is to create the directory with a different type, otherwise inheritance applies. File context database is only a static database for use by commands like restorecon or matchpathcon. So my first hypothesis was correct, I was missing something. I already have some in my policy, I will review them and see what may be missing. Thanks, Dridi _______________________________________________ selinux mailing list -- [email protected] To unsubscribe send an email to [email protected] Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/[email protected] Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue