]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
samba: Remove execution rights from smb.conf
authorBenoît Thébaudeau <benoit.thebaudeau@advansee.com>
Mon, 4 Aug 2014 18:14:16 +0000 (20:14 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 4 Aug 2014 18:27:12 +0000 (20:27 +0200)
/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>
package/samba/samba.mk

index 6d379b5fe7e0f3b19ae2a2bea2aea701b7a12c14..84e525f8c43c2f41bd767ebe5a15608070b0c34c 100644 (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