]> git.ipfire.org Git - thirdparty/libvirt.git/commit
spec: Fix permissions of nwfilter XMLs
authorJiri Denemark <jdenemar@redhat.com>
Thu, 23 May 2019 12:31:37 +0000 (14:31 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Mon, 27 May 2019 13:00:11 +0000 (15:00 +0200)
commitf87d5a964f648e78ad95b26a286e2670b0da72e2
tree0d66f871f74a649bfc19b0763c953f243c4dc069
parente67b0a45769bfdca48520193e9ad1209b900d64f
spec: Fix permissions of nwfilter XMLs

The nwfilter XML files stored in /etc/libvirt/nwfilter are copied in a
%post scriptlet from /usr/share/libvirt/nwfilter/*.xml. While the files
in /usr/share are created with mode 0644, libvirt creates the files in
/etc/libvirt/nwfilter with mode 0600. Since 0600 is also stored in the
RPM database, we need to chmod the files copied from /usr/share to make
sure RPM verification does not complain about changed permissions.

https://bugzilla.redhat.com/show_bug.cgi?id=1628475

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Andrea Bolognani <abologna@redhat.com>
libvirt.spec.in