From patchwork Mon Aug 4 18:14:16 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Beno=C3=AEt_Th=C3=A9baudeau?= X-Patchwork-Id: 376413 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id 9AEA81400E4 for ; Tue, 5 Aug 2014 04:21:40 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id C1E048AB97; Mon, 4 Aug 2014 18:21:36 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id I6XXNuiqCe91; Mon, 4 Aug 2014 18:21:34 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 5EC1F8A7C4; Mon, 4 Aug 2014 18:21:34 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id B42A61C2207 for ; Mon, 4 Aug 2014 18:21:32 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id B0A58879C0 for ; Mon, 4 Aug 2014 18:21:32 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nlFPM-fugWhE for ; Mon, 4 Aug 2014 18:21:31 +0000 (UTC) X-Greylist: delayed 00:06:36 by SQLgrey-1.7.6 Received: from zose-mta02.web4all.fr (zose-mta02.web4all.fr [185.49.20.43]) by hemlock.osuosl.org (Postfix) with ESMTP id 2A3728713C for ; Mon, 4 Aug 2014 18:21:31 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by zose-mta02.web4all.fr (Postfix) with ESMTP id E617143BAF for ; Mon, 4 Aug 2014 20:14:53 +0200 (CEST) Received: from zose-mta02.web4all.fr ([127.0.0.1]) by localhost (zose-mta02.web4all.fr [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id OYAJfeXH8lJx; Mon, 4 Aug 2014 20:14:49 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by zose-mta02.web4all.fr (Postfix) with ESMTP id AB3B043BB2; Mon, 4 Aug 2014 20:14:49 +0200 (CEST) X-Virus-Scanned: amavisd-new at zose-mta-02.w4a.fr Received: from zose-mta02.web4all.fr ([127.0.0.1]) by localhost (zose-mta02.web4all.fr [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id yp9dej9vRcSI; Mon, 4 Aug 2014 20:14:49 +0200 (CEST) Received: from localhost.localdomain (cie44-1-88-188-188-147.fbx.proxad.net [88.188.188.147]) by zose-mta02.web4all.fr (Postfix) with ESMTPSA id 721A243BAF; Mon, 4 Aug 2014 20:14:49 +0200 (CEST) From: =?UTF-8?q?Beno=C3=AEt=20Th=C3=A9baudeau?= To: Date: Mon, 4 Aug 2014 20:14:16 +0200 Message-Id: <1407176057-13180-1-git-send-email-benoit.thebaudeau@advansee.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Cc: =?UTF-8?q?Beno=C3=AEt=20Th=C3=A9baudeau?= Subject: [Buildroot] [PATCH 1/2] samba: Remove execution rights from smb.conf X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net /etc/samba/smb.conf should be installed without execution rights since it is a simple text configuration file. Signed-off-by: Benoît Thébaudeau --- package/samba/samba.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/samba/samba.mk b/package/samba/samba.mk index 6d379b5..84e525f 100644 --- a/package/samba/samba.mk +++ b/package/samba/samba.mk @@ -167,7 +167,7 @@ define SAMBA_INSTALL_INITSCRIPTS_CONFIG fi # install config @if [ ! -f $(TARGET_DIR)/etc/samba/smb.conf ]; then \ - $(INSTALL) -m 0755 -D package/samba/simple.conf $(TARGET_DIR)/etc/samba/smb.conf; \ + $(INSTALL) -m 0644 -D package/samba/simple.conf $(TARGET_DIR)/etc/samba/smb.conf; \ fi endef