Closed jfrogg closed 1 year ago
A few Permission denied messages are generated during the installation:
Permission denied
root@router:~# opkg install luci-app-sms-tool-js Installing luci-app-sms-tool-js (2.0.7-20230410) to root... Downloading https://github.com/4IceG/Modem-extras/raw/main/myrepo/luci-app-sms-tool-js_2.0.7-20230410_all.ipk Configuring luci-app-sms-tool-js. //usr/lib/opkg/info/luci-app-sms-tool-js.postinst: //usr/lib/opkg/info/luci-app-sms-tool-js.postinst: //usr/lib/opkg/info/luci-app-sms-tool-js.postinst: /etc/uci-defaults/off_sms.sh: line 7: /etc/init.d/my_new_sms: Permission denied /etc/uci-defaults/off_sms.sh: line 6: /etc/init.d/my_new_sms: Permission denied /etc/uci-defaults/off_sms.sh: line 5: /etc/init.d/my_new_sms: Permission denied //usr/lib/opkg/info/luci-app-sms-tool-js.postinst: line 301: /etc/init.d/my_new_sms: Permission denied //usr/lib/opkg/info/luci-app-sms-tool-js.postinst: line 303: /etc/init.d/my_new_sms: Permission denied
I suppose some extra checking will be needed in off_sms.sh to avoid such errors.
off_sms.sh
BTW, my_new_sms file is in place, but it is not executable unlike other scripts there:
my_new_sms
root@router:~# ll /etc/init.d/my_new_sms -rw-rw-r-- 1 root root 579 Sep 3 2022 /etc/init.d/my_new_sms
Okay, thanks for reporting. To fix this, just change the permissions for this file chmod +x /etc/init.d/my_new_sms. I will correct these disappearing permissions with the new version of the package.
chmod +x /etc/init.d/my_new_sms
A few
Permission denied
messages are generated during the installation:I suppose some extra checking will be needed in
off_sms.sh
to avoid such errors.BTW,
my_new_sms
file is in place, but it is not executable unlike other scripts there: