From: Dan McGregor Date: Mon, 8 Sep 2014 11:58:23 +0000 (+0100) Subject: lighttpd: install config file without execute permissions X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~32449 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=de8d70ccd846167df31037b7a89f7d13f6731cf6;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git lighttpd: install config file without execute permissions Signed-off-by: Dan McGregor Signed-off-by: Saul Wold Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-extended/lighttpd/lighttpd_1.4.35.bb b/meta/recipes-extended/lighttpd/lighttpd_1.4.35.bb index 0acc37d94fe..20d5c1caa07 100644 --- a/meta/recipes-extended/lighttpd/lighttpd_1.4.35.bb +++ b/meta/recipes-extended/lighttpd/lighttpd_1.4.35.bb @@ -51,7 +51,7 @@ SYSTEMD_SERVICE_${PN} = "lighttpd.service" do_install_append() { install -d ${D}${sysconfdir}/init.d ${D}${sysconfdir}/lighttpd.d ${D}/www/pages/dav install -m 0755 ${WORKDIR}/lighttpd ${D}${sysconfdir}/init.d - install -m 0755 ${WORKDIR}/lighttpd.conf ${D}${sysconfdir} + install -m 0644 ${WORKDIR}/lighttpd.conf ${D}${sysconfdir} install -m 0644 ${WORKDIR}/index.html.lighttpd ${D}/www/pages/index.html install -d ${D}${systemd_unitdir}/system