mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 06:28:31 +01:00
Apply default umask in SetupEnvironment()
This change makes all filesystem artifacts--files and directories--being created with the default umask.
This commit is contained in:
@@ -816,8 +816,6 @@ bool AppInitBasicSetup(const ArgsManager& args)
|
||||
}
|
||||
|
||||
#ifndef WIN32
|
||||
umask(077);
|
||||
|
||||
// Clean shutdown on SIGTERM
|
||||
registerSignalHandler(SIGTERM, HandleSIGTERM);
|
||||
registerSignalHandler(SIGINT, HandleSIGTERM);
|
||||
|
||||
Reference in New Issue
Block a user