[LEDE-DEV] [PATCH] treewide: set scripts executable

Michael Heimpold mhei at heimpold.de
Sat Mar 31 00:04:45 PDT 2018


Am Freitag, 30. März 2018, 18:03:19 CEST schrieb Yousong Zhou:
> On 30 March 2018 at 17:53, Koen Vandeputte <koen.vandeputte at ncentric.com> wrote:
> > A lot of scripts are not set executable and thus will not run on invocation.
> > Fix this by setting appropriate rights.
> >
> > Currently, only files with extension .sh are targetted.
> >
> > A partial list of files on my imx6 after installing the latest master:
> >
> > File '/etc/diag.sh' is not executable:  -rw-r--r--
> > File '/lib/config/uci.sh' is not executable:  -rw-r--r--
> > File '/lib/functions/fsck/e2fsck.sh' is not executable:  -rw-r--r--
> > File '/lib/functions/leds.sh' is not executable:  -rw-r--r--
> > File '/lib/functions/network.sh' is not executable:  -rw-r--r--
> > File '/lib/functions/preinit.sh' is not executable:  -rw-r--r--
> > File '/lib/functions/procd.sh' is not executable:  -rw-r--r--
> > File '/lib/functions/service.sh' is not executable:  -rw-r--r--
> > File '/lib/functions/system.sh' is not executable:  -rw-r--r--
> > File '/lib/netifd/hostapd.sh' is not executable:  -rw-r--r--
> > File '/lib/netifd/netifd-proto.sh' is not executable:  -rw-r--r--
> > File '/lib/netifd/netifd-wireless.sh' is not executable:  -rw-r--r--
> > File '/lib/netifd/utils.sh' is not executable:  -rw-r--r--
> > File '/lib/uboot-envtools.sh' is not executable:  -rw-r--r--
> > File '/lib/upgrade/common.sh' is not executable:  -rw-r--r--
> > File '/lib/upgrade/fwtool.sh' is not executable:  -rw-r--r--
> > File '/lib/upgrade/nand.sh' is not executable:  -rw-r--r--
> > File '/lib/wifi/mac80211.sh' is not executable:  -rw-r--r--
> > File '/rom/etc/diag.sh' is not executable:  -rw-r--r--
> > File '/rom/lib/config/uci.sh' is not executable:  -rw-r--r--
> > File '/rom/lib/functions/fsck/e2fsck.sh' is not executable:  -rw-r--r--
> > File '/rom/lib/functions/leds.sh' is not executable:  -rw-r--r--
> > File '/rom/lib/functions/network.sh' is not executable:  -rw-r--r--
> > File '/rom/lib/functions/preinit.sh' is not executable:  -rw-r--r--
> > File '/rom/lib/functions/procd.sh' is not executable:  -rw-r--r--
> > File '/rom/lib/functions/service.sh' is not executable:  -rw-r--r--
> > File '/rom/lib/functions/system.sh' is not executable:  -rw-r--r--
> > File '/rom/lib/netifd/hostapd.sh' is not executable:  -rw-r--r--
> > File '/rom/lib/netifd/netifd-proto.sh' is not executable:  -rw-r--r--
> > File '/rom/lib/netifd/netifd-wireless.sh' is not executable:  -rw-r--r--
> > File '/rom/lib/netifd/utils.sh' is not executable:  -rw-r--r--
> > File '/rom/lib/uboot-envtools.sh' is not executable:  -rw-r--r--
> > File '/rom/lib/upgrade/common.sh' is not executable:  -rw-r--r--
> > File '/rom/lib/upgrade/fwtool.sh' is not executable:  -rw-r--r--
> > File '/rom/lib/upgrade/nand.sh' is not executable:  -rw-r--r--
> > File '/rom/lib/wifi/mac80211.sh' is not executable:  -rw-r--r--
> > ...
> >
> 
> These files are of library types and not supposed to be directly
> executable.  I really prefer them to be installed with $(INSTALL_DATA)

+1
mhei




More information about the Lede-dev mailing list