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(a)assyoma.it - info(a)assyoma.it
GPG public key ID: FF5F32A8