On Wednesday, June 3, 2020 11:05:39 PM EDT Orion Poplawski wrote:
The clamd package ships a default service (clamd@scan) with the
d /run/clamd.scan 0710 clamscan virusgroup
%files -n clamd
%ghost %dir %attr(0710,clamscan,virusgroup) /run/clamd.scan
Now, a user might want to change the mode and group of the
/run/clamd.scan directory to suit their purposes. They can do this by
creating an /etc/tmpfiles.d/clamd.scan.conf file. But the next time a
clamd update comes along rpm will reset the permissions of
/run/clamd.scan until the next reboot.
Actually, systemd does not override the administrator's directory,
"Files in /etc/tmpfiles.d override files with the same name in
/usr/lib/tmpfiles.d and /run/tmpfiles.d."
Garry T. Williams