From 74270de8bcb21dc06428a56f0b91b6835aa8fccf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Th=C3=A9baudeau?= Date: Mon, 4 Aug 2014 20:14:16 +0200 Subject: [PATCH] samba: Remove execution rights from smb.conf MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit /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 Signed-off-by: Thomas Petazzoni --- 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 6d379b5fe7..84e525f8c4 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