HomePhabricator

error if settings.json exists, but is unreadable

Description

error if settings.json exists, but is unreadable

Summary: This is a backport of core#22591

Test Plan:
ninja all check-all

$ sudo chmod a-rwx /bitcoinddata/settings.json
$ src/bitcoind
Error: Failed loading settings file:
- /bitcoinddata/settings.json. Please check permissions.

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: Fabien

Differential Revision: https://reviews.bitcoinabc.org/D10783

Details

Provenance
Tyler Chambers <me@tylerchambers.net>Authored on Jul 30 2021, 18:26
PiRKCommitted on Jan 10 2022, 13:57
PiRKPushed on Jan 10 2022, 13:58
Reviewer
Restricted Project
Differential Revision
D10783: error if settings.json exists, but is unreadable
Parents
rABC682cf70170d1: [net] Remove asmap argument from CNode::CopyStats()
Branches
Unknown
Tags
Unknown