aboutsummaryrefslogtreecommitdiff
path: root/src/i2p.cpp
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2023-02-05 08:09:16 +0000
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2023-02-05 08:09:16 +0000
commit8a6219e54379911605aed860519e0194f1433b72 (patch)
tree54e7a7b958b3f2a38edfce57c23c8ffa0bc36af2 /src/i2p.cpp
parentd71b0e78eb0f24e8b147657c8561d74e441c2503 (diff)
Remove `-sysperms` option
This change effectively reverts commits from https://github.com/bitcoin/bitcoin/pull/4286. Users, who rely on non-default access permissions, should use `chmod` command.
Diffstat (limited to 'src/i2p.cpp')
-rw-r--r--src/i2p.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i2p.cpp b/src/i2p.cpp
index 586ee649a7..d4139bb8e5 100644
--- a/src/i2p.cpp
+++ b/src/i2p.cpp
@@ -336,7 +336,7 @@ void Session::GenerateAndSavePrivateKey(const Sock& sock)
{
DestGenerate(sock);
- // umask is set to 077 in init.cpp, which is ok (unless -sysperms is given)
+ // umask is set to 077 in init.cpp, which is ok.
if (!WriteBinaryFile(m_private_key_file,
std::string(m_private_key.begin(), m_private_key.end()))) {
throw std::runtime_error(