mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-18 13:17:55 +02: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:
parent
8a6219e543
commit
581f16ef34
4 changed files with 7 additions and 4 deletions
|
|
@ -816,8 +816,6 @@ bool AppInitBasicSetup(const ArgsManager& args)
|
|||
}
|
||||
|
||||
#ifndef WIN32
|
||||
umask(077);
|
||||
|
||||
// Clean shutdown on SIGTERM
|
||||
registerSignalHandler(SIGTERM, HandleSIGTERM);
|
||||
registerSignalHandler(SIGINT, HandleSIGTERM);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue