diff --git a/policy/modules/services/cups.fc b/policy/modules/services/cups.fc index f0b0e1a08..950c288d5 100644 --- a/policy/modules/services/cups.fc +++ b/policy/modules/services/cups.fc @@ -18,7 +18,7 @@ /etc/printcap.* -- gen_context(system_u:object_r:cupsd_rw_etc_t,s0) -/opt/brother/Printers/(.*/)?inf(/.*)? gen_context(system_u:object_r:cupsd_rw_etc_t,s0) +/opt/brother/Printers/([^/]+/)?inf(/.*)? gen_context(system_u:object_r:cupsd_rw_etc_t,s0) /opt/gutenprint/ppds(/.*)? gen_context(system_u:object_r:cupsd_rw_etc_t,s0) /usr/bin/hp-[^/]+ -- gen_context(system_u:object_r:hplip_exec_t,s0)