I have a proprietary piece of software my company owns that needs access to a root-level file. We'll call it /secfile
as it is security/license related. The system runs a daemon that writes out updated information to /secfile
. This daemon, if prevented from updating /secfile
, invalidates the license in question because it assumes foul play.
How can I force SELinux to allow the daemon, which resides at /bin/secdaemon
, access to /secfile
?
The only other application that needs access (which is currently not restricted) to /secfile
is /usr/bin/licensemanager
.