summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenoît Thébaudeau <benoit.thebaudeau@advansee.com>2014-08-04 20:14:16 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-08-04 20:27:12 +0200
commit74270de8bcb21dc06428a56f0b91b6835aa8fccf (patch)
treeef03251fa8106a8fa16718476dcad8124c5cfc0d
parent9a8470c9ee4dab3b872280656316c08a0d573d53 (diff)
downloadbuildroot-74270de8bcb21dc06428a56f0b91b6835aa8fccf.tar.gz
buildroot-74270de8bcb21dc06428a56f0b91b6835aa8fccf.zip
samba: Remove execution rights from smb.conf
/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 <benoit.thebaudeau@advansee.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/samba/samba.mk2
1 files changed, 1 insertions, 1 deletions
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
OpenPOWER on IntegriCloud