vernesong / OpenClash

A Clash Client For OpenWrt
MIT License
16.79k stars 3.09k forks source link

编译进固件缺少运行权限 #19

Closed love4taylor closed 5 years ago

love4taylor commented 5 years ago
root@OpenWrt:~# /etc/init.d/openclash restart
-ash: /etc/init.d/openclash: Permission denied
root@OpenWrt:~# chmod +x /etc/init.d/openclash
root@OpenWrt:~# /etc/init.d/openclash restart
OpenClash Already Stop
nohup: appending output to ‘nohup.out’
nohup: failed to run command ‘/usr/share/openclash/openclash_watchdog.sh’: Permission denied
vernesong commented 5 years ago

这个现象产生的具体原因还不清楚,你可以暂时手动给与权限

Dawneng commented 5 years ago

我也有这个问题

vernesong commented 5 years ago

下次更新我在makefile里面添加权限命令好了

Maskia commented 5 years ago

在编译进固件的时候:

luci-app-openclash.postinst-pkg: line 23: uci: command not found
chmod: cannot access '/etc/init.d/openclash': No such file or directory
chmod: cannot access '/usr/share/openclash/': No such file or directory
chmod: cannot access '/usr/lib/lua/luci/model/cbi/openclash/': No such file or directory

vernesong commented 5 years ago

现在还有权限丢失问题吗?目前我测试没有问题,能够正常启动。

love4taylor commented 5 years ago

没什么问题了