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>
This commit is contained in:
Benoît Thébaudeau 2014-08-04 20:14:16 +02:00 committed by Thomas Petazzoni
parent 9a8470c9ee
commit 74270de8bc

View File

@ -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