From patchwork Fri Feb 15 16:00:23 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Petr Lautrbach X-Patchwork-Id: 10815141 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 1248413A4 for ; Fri, 15 Feb 2019 16:00:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 010792F9DC for ; Fri, 15 Feb 2019 16:00:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E93972F9E7; Fri, 15 Feb 2019 16:00:33 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 967D72F9E0 for ; Fri, 15 Feb 2019 16:00:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391023AbfBOQAd (ORCPT ); Fri, 15 Feb 2019 11:00:33 -0500 Received: from mx1.redhat.com ([209.132.183.28]:33002 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390625AbfBOQAd (ORCPT ); Fri, 15 Feb 2019 11:00:33 -0500 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id E94BF13982C for ; Fri, 15 Feb 2019 16:00:32 +0000 (UTC) Received: from workstation.redhat.com (unknown [10.40.205.53]) by smtp.corp.redhat.com (Postfix) with ESMTP id 194595C3FD; Fri, 15 Feb 2019 16:00:31 +0000 (UTC) From: Petr Lautrbach To: selinux@vger.kernel.org Cc: Petr Lautrbach Subject: [PATCH v2 1/3] python/semanage: Drop python shebang from seobject.py Date: Fri, 15 Feb 2019 17:00:23 +0100 Message-Id: <20190215160025.9810-1-plautrba@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.39]); Fri, 15 Feb 2019 16:00:33 +0000 (UTC) Sender: selinux-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: selinux@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP seobject.py is not supposed to be used as entrypoint therefore the shebang is unnecessary. It also doesn't need execute bits. Signed-off-by: Petr Lautrbach --- python/semanage/Makefile | 2 +- python/semanage/seobject.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/python/semanage/Makefile b/python/semanage/Makefile index 2e262ef8..37065268 100644 --- a/python/semanage/Makefile +++ b/python/semanage/Makefile @@ -27,7 +27,7 @@ install: all fi ; \ done test -d $(DESTDIR)/$(PACKAGEDIR) || install -m 755 -d $(DESTDIR)/$(PACKAGEDIR) - install -m 755 seobject.py $(DESTDIR)/$(PACKAGEDIR) + install -m 644 seobject.py $(DESTDIR)/$(PACKAGEDIR) -mkdir -p $(DESTDIR)$(BASHCOMPLETIONDIR) install -m 644 $(BASHCOMPLETIONS) $(DESTDIR)$(BASHCOMPLETIONDIR)/semanage diff --git a/python/semanage/seobject.py b/python/semanage/seobject.py index b31a90c1..13fdf531 100644 --- a/python/semanage/seobject.py +++ b/python/semanage/seobject.py @@ -1,4 +1,3 @@ -#! /usr/bin/python -Es # Copyright (C) 2005-2013 Red Hat # see file 'COPYING' for use and warranty information #