Thanks to visit codestin.com
Credit goes to github.com

Skip to content

lokinet does not report correct error message when attempting to reading file it does not have permission to #1970

@majestrate

Description

@majestrate

Describe the bug
when lokinet tries to read a config file that does not have the right read permissions it does not report that it could not read because of permissions.

To Reproduce
Steps to reproduce the behavior:

touch /tmp/lokinet.ini
chown root:root /tmp/lokinet.ini
chmod 600 /tmp/lokinet.ini
lokinet /tmp/lokinet.ini

Screenshots Or Logs
n/a

Device and Operating system (please complete the following information):

  • OS: linux
  • Device: all
  • Lokinet Version number or Git commit hash: git tag 0.9.9

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingenhancementNew feature or requestgood first issueGood for newcomers

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions