On Friday 2017-01-06 13:45, Andrei Borzenkov wrote:
Date: Fri, 6 Jan 2017 13:45:46 From: Andrei Borzenkov <arvidjaar@gmail.com> To: opensuse@opensuse.org Subject: Re: [opensuse] /etc/permissions.d on openSuSE 13.2 / nagvis/mk-livestatus
06.01.2017 15:22, Paul Neuwirth пишет:
On Friday 2017-01-06 13:16, Per Jessen wrote:
Paul Neuwirth wrote:
Hello group, after websearching around, I did not find anything, about this: How are permissions, set in /etc/permissions.* and /etc/permissions.d/* processed?
For starters, see "man permissions'.
I added a file according to a manual in /etc/permissions.d/, but these permissions do not get applied (after file creation by a daemon). Old documentation/threads mention SuSEconfig, but this tool is not used anymore... How do I apply these settings/ which service needs to be reloaded/restarted? files seem to be handled by chkstat according to rpm -qf ..
chkstat is invoked by rpms or by YaST.
so it cannot be used for that purpose.
Which purpose? You started with question about solution without telling which problem you are trying to solve.
missing in the last quote. I want to link nagvis (on apache) to mk-livestatus (module on nagios), but the socket created has wrong owner, so inaccessible for wwwrun. easiest solution would be to add the group to wwwrun. but the default setup mentions the solution with /etc/permissions.d/ but the unix socket is deleted/created wit stop/start of nagios. So this won't work.