rpm - named pipe in rpmbuild -


I need to set the permissions of files in the form of designated pipes in RPM.

We use the configuration files to separate old config files (% postun,% triggerin and% triggerun) with some fancy RPM magic and if necessary, the meter is restored) . As part of the configuration for an Icinga distributed setup, I want to change the permissions as part of the RPM installation of a file, but I need the value I need to provide the ''% attr '' macro Do not want to find him.

This is the flow:

  ll /var/spool/icing_cmd/icinga.cmd prw-rw-rw- 1 icinga icingacmd 84 April 28 13:40 / var / Spool /icing_/cmd/icinga.cmd  

Edit:

On the real issue I have the Imdinda CMD with permissions Prw-rw ---, but I It is required that the PR-R-R-ROO real file is created by the Iciting Process with above permissions. I tried automating chmod with a loop, which checks the modes and permissions of FIFO good, but there is a series of complications I had not met before and I will leave this idea here.

You can not change the permissions that were created / deleted on runtime using the package. Therefore, the Group Sticky (G + 2755) bit was set, which could lead to Damon's denial of the parent directory group. The way the command pipe is worth writing (0660) by ICSingc MD Group. If your application is in that group of users (which is usually either an ICAI or Web App for Apache), then you will not have any problems. For ICIDA and Apache users, the RPM takes care of the already (for example the classic UI is required). The NSCA package is used as an appraiser user Nagios, which should be kept in ICSNC MD Group (or you would consider running UCN NSCA as ICIDA or changing a new one in ICICACMD Group).


Comments

Popular posts from this blog

import - Python ImportError: No module named wmi -

Editing Python Class in Shell and SQLAlchemy -

c# - MySQL Parameterized Select Query joining tables issue -