|
|
dc2b6e |
From 48f4d21cf73e15e145258bf1d590ca279838168c Mon Sep 17 00:00:00 2001
|
|
|
dc2b6e |
Message-Id: <48f4d21cf73e15e145258bf1d590ca279838168c@dist-git>
|
|
|
dc2b6e |
From: Michal Privoznik <mprivozn@redhat.com>
|
|
|
dc2b6e |
Date: Thu, 8 Dec 2022 08:39:24 +0100
|
|
|
dc2b6e |
Subject: [PATCH] tools: Fix install_mode for some scripts
|
|
|
dc2b6e |
|
|
|
dc2b6e |
Scripts from the following list were installed with group write
|
|
|
dc2b6e |
bit set: virt-xml-validate, virt-pki-validate,
|
|
|
dc2b6e |
virt-sanlock-cleanup, libvirt-guests.sh. This is very unusual and
|
|
|
dc2b6e |
in contrast with the way other scripts/binaries are installed.
|
|
|
dc2b6e |
|
|
|
dc2b6e |
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2151202
|
|
|
dc2b6e |
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
|
|
|
dc2b6e |
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
|
|
|
dc2b6e |
Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
|
|
|
dc2b6e |
(cherry picked from commit e771e32f15ff2b263ca70306d93080541a96792b)
|
|
|
dc2b6e |
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2153688
|
|
|
dc2b6e |
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
|
|
|
dc2b6e |
---
|
|
|
dc2b6e |
tools/meson.build | 8 ++++----
|
|
|
dc2b6e |
1 file changed, 4 insertions(+), 4 deletions(-)
|
|
|
dc2b6e |
|
|
|
dc2b6e |
diff --git a/tools/meson.build b/tools/meson.build
|
|
|
dc2b6e |
index 2d0aecb90b..7c6e527939 100644
|
|
|
dc2b6e |
--- a/tools/meson.build
|
|
|
dc2b6e |
+++ b/tools/meson.build
|
|
|
dc2b6e |
@@ -247,7 +247,7 @@ configure_file(
|
|
|
dc2b6e |
configuration: tools_conf,
|
|
|
dc2b6e |
install: true,
|
|
|
dc2b6e |
install_dir: bindir,
|
|
|
dc2b6e |
- install_mode: 'rwxrwxr-x',
|
|
|
dc2b6e |
+ install_mode: 'rwxr-xr-x',
|
|
|
dc2b6e |
)
|
|
|
dc2b6e |
|
|
|
dc2b6e |
configure_file(
|
|
|
dc2b6e |
@@ -256,7 +256,7 @@ configure_file(
|
|
|
dc2b6e |
configuration: tools_conf,
|
|
|
dc2b6e |
install: true,
|
|
|
dc2b6e |
install_dir: bindir,
|
|
|
dc2b6e |
- install_mode: 'rwxrwxr-x',
|
|
|
dc2b6e |
+ install_mode: 'rwxr-xr-x',
|
|
|
dc2b6e |
)
|
|
|
dc2b6e |
|
|
|
dc2b6e |
executable(
|
|
|
dc2b6e |
@@ -293,7 +293,7 @@ if conf.has('WITH_SANLOCK')
|
|
|
dc2b6e |
configuration: tools_conf,
|
|
|
dc2b6e |
install: true,
|
|
|
dc2b6e |
install_dir: sbindir,
|
|
|
dc2b6e |
- install_mode: 'rwxrwxr-x',
|
|
|
dc2b6e |
+ install_mode: 'rwxr-xr-x',
|
|
|
dc2b6e |
)
|
|
|
dc2b6e |
endif
|
|
|
dc2b6e |
|
|
|
dc2b6e |
@@ -304,7 +304,7 @@ if conf.has('WITH_LIBVIRTD')
|
|
|
dc2b6e |
configuration: tools_conf,
|
|
|
dc2b6e |
install: true,
|
|
|
dc2b6e |
install_dir: libexecdir,
|
|
|
dc2b6e |
- install_mode: 'rwxrwxr-x',
|
|
|
dc2b6e |
+ install_mode: 'rwxr-xr-x',
|
|
|
dc2b6e |
)
|
|
|
dc2b6e |
|
|
|
dc2b6e |
if init_script == 'systemd'
|
|
|
dc2b6e |
--
|
|
|
dc2b6e |
2.39.0
|
|
|
dc2b6e |
|