From nobody Fri May 17 20:27:30 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1670485989; cv=none; d=zohomail.com; s=zohoarc; b=WrP3OoqTp+pRZKEgHgG/wd4vJx3uN6nDMS2V49Ko9qGJaISAvQU00MqlAHW95HE8lHcvpo1tS+vKwngYuMNYd0q0p7jMC6lmepFkafDFyWx0kRnAElYSpwDA3Bk4am2qy/gJM5jiqxFYtcmXUwA0oj+5zwnvmSAb7kchts8BJOY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1670485989; h=Content-Type:Content-Transfer-Encoding:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=0op7CVGbS3+le/XuwcITsJMH/de9WEOxhQeHtn8o++w=; b=dxSqaEuN6Z3arj+DLc10Z1hA+IcX6UW2pMi7OyhoPkbt2AJDmn9elbGXwS/p+GURg7d7Vk2cQnL/zAarAJ97Ab02q7IoVP+NxWuNBj64i1u51pkvWTauuz/okIz6YkWAr0qrGnA/XJu1+nDE/BvoHqolWV/W8qMN2TpIteMOmls= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.zohomail.com with SMTPS id 1670485989271509.50099823411654; Wed, 7 Dec 2022 23:53:09 -0800 (PST) Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-66-LxLf4p9dNySNLK1zOTQQOA-1; Thu, 08 Dec 2022 02:53:04 -0500 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.rdu2.redhat.com [10.11.54.2]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id CDC581C05ED0; Thu, 8 Dec 2022 07:53:02 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id 86DE140C6EE9; Thu, 8 Dec 2022 07:53:00 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 61B061946A41; Thu, 8 Dec 2022 07:53:00 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 9E6CA19466DF for ; Thu, 8 Dec 2022 07:52:57 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 43E6E145BA44; Thu, 8 Dec 2022 07:52:57 +0000 (UTC) Received: from maggie.redhat.com (unknown [10.43.2.39]) by smtp.corp.redhat.com (Postfix) with ESMTP id DBCEF140EBF5 for ; Thu, 8 Dec 2022 07:52:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1670485988; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=0op7CVGbS3+le/XuwcITsJMH/de9WEOxhQeHtn8o++w=; b=Ebs6PkSq9ios3IzhtKTDq0I4aYYR0WWJUvDub8bhXX3Y464ypRyUESZ7W9u7zI1T+hkBgN Vl+euWYKkApN0O7ue5dpeZ0T5z5S5vk/WZSBeXa7dkNG+uaBzpdgq0T/0kqY3flnF2gf6l zIUBQ5WmrE2XjaQPb7+/oQiYOTfnY50= X-MC-Unique: LxLf4p9dNySNLK1zOTQQOA-1 X-Original-To: libvir-list@listman.corp.redhat.com From: Michal Privoznik To: libvir-list@redhat.com Subject: [PATCH] tools: Fix install_mode for some scripts Date: Thu, 8 Dec 2022 08:52:52 +0100 Message-Id: <535fecaa657eb25b9b5876dee2b2eaca706c0fd4.1670485972.git.mprivozn@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.7 X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 3.1 on 10.11.54.2 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1670485991024100001 Content-Type: text/plain; charset="utf-8"; x-default="true" Scripts from the following list were installed with group write bit set: virt-xml-validate, virt-pki-validate, virt-sanlock-cleanup, libvirt-guests.sh. This is very unusual and in contrast with the way other scripts/binaries are installed. Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=3D2151202 Signed-off-by: Michal Privoznik Reviewed-by: Jiri Denemark Reviewed-by: Peter Krempa --- tools/meson.build | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/meson.build b/tools/meson.build index c41c619af4..fad7f202ad 100644 --- a/tools/meson.build +++ b/tools/meson.build @@ -249,7 +249,7 @@ configure_file( configuration: tools_conf, install: true, install_dir: bindir, - install_mode: 'rwxrwxr-x', + install_mode: 'rwxr-xr-x', ) =20 configure_file( @@ -258,7 +258,7 @@ configure_file( configuration: tools_conf, install: true, install_dir: bindir, - install_mode: 'rwxrwxr-x', + install_mode: 'rwxr-xr-x', ) =20 executable( @@ -295,7 +295,7 @@ if conf.has('WITH_SANLOCK') configuration: tools_conf, install: true, install_dir: sbindir, - install_mode: 'rwxrwxr-x', + install_mode: 'rwxr-xr-x', ) endif =20 @@ -311,7 +311,7 @@ if conf.has('WITH_LIBVIRTD') configuration: tools_conf, install: true, install_dir: libexecdir, - install_mode: 'rwxrwxr-x', + install_mode: 'rwxr-xr-x', ) =20 if init_script =3D=3D 'systemd' --=20 2.37.4