[CentOS] share /var/spool/cups-pdf/SPOOL/?

Sat Sep 2 17:37:03 UTC 2017
hw <hw at gc-24.de>

Hi,

is there a way to set multiple selinux attributes to files/directories?

I would like to share /var/spool/cups-pdf/SPOOL/, which has
'system_u:object_r:print_spool_t:s0' and would also need
'system_u:object_r:samba_share_t:s0'.


The point is that there will be files accumulating that only need to be
deleted, and there might be files users may actually want access to.
Sharing the directory (and a script that automatically deletes files from
there which are too old) would be a way to achieve this.