openwrt / packages

Community maintained packages for OpenWrt. Documentation for submitting pull requests is in CONTRIBUTING.md
GNU General Public License v2.0
3.97k stars 3.46k forks source link

stubby: Could not parse config file "/var/etc/stubby/stubby.yml": Permission denied #15314

Open almeida66 opened 3 years ago

almeida66 commented 3 years ago

sorry, bug still there:

Description: when starting stubby it fails to open /var/etc/stubby/stubby.yml due to insufficient permissions. Using chown and chmod to give root full access makes no difference.

stubby version: 0.3.0 OpenWrt 19.07.3 r11063-85e04e9f46 / LuCI openwrt-19.07 branch git-20.136.49537-fb2f363 device: modded AVM 7412

Temporary workaround: SSH into router and launch it with command stubby -g

msvamp commented 2 years ago

I believe this was fixed when the patch https://github.com/openwrt/packages/commit/b95699c6475795ae4d500a43a7cd382de655ec3f was released. I don't see this issue in the current default configuration included with the package.

Using chown and chmod to give root full access makes no difference.

You shouldn't give the privileges to the root user, but instead the stubby user.