diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2023-02-06 11:08:03 +0000 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2023-02-06 11:08:03 +0000 |
commit | 581f16ef3404274cb5c1a79dd3d6ee7b584f9844 (patch) | |
tree | 82d42c6eb31a803dbc55967711e0433e356a7b02 /src/i2p.cpp | |
parent | 8a6219e54379911605aed860519e0194f1433b72 (diff) | |
download | bitcoin-581f16ef3404274cb5c1a79dd3d6ee7b584f9844.tar.xz |
Apply default umask in `SetupEnvironment()`
This change makes all filesystem artifacts--files and directories--being
created with the default umask.
Diffstat (limited to 'src/i2p.cpp')
-rw-r--r-- | src/i2p.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i2p.cpp b/src/i2p.cpp index d4139bb8e5..8e98440747 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. + // umask is set to 0077 in util/system.cpp, which is ok. if (!WriteBinaryFile(m_private_key_file, std::string(m_private_key.begin(), m_private_key.end()))) { throw std::runtime_error( |