Il 2022-10-31 18:14 Petr Lautrbach ha scritto:
If you need to share files between 2 different generic domains, you
need
to add rules to allow the access. For example, for the domain
myprocess_t and files in /var/www/html, which is labeled as
httpd_sys_content_t, you would use a module like this:
# cat > myprocess_httpd.cil <<EOF
(allow myprocess_t httpd_sys_content_t (dir ( getattr open search )))
(allow myprocess_t httpd_sys_content_t (file ( getattr ioctl lock open
read )))
EOF
# semodule -i myprocess_httpd.cil
Hi Petr,
thanks for confirming.
Regards.
--
Danti Gionatan
Supporto Tecnico
Assyoma S.r.l. - www.assyoma.it
email: g.danti@xxxxxxxxxx - info@xxxxxxxxxx
GPG public key ID: FF5F32A8
_______________________________________________
selinux mailing list -- selinux@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to selinux-leave@xxxxxxxxxxxxxxxxxxxxxxx
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/selinux@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue