mirror of
https://github.com/monero-project/monero.git
synced 2025-08-09 01:22:20 -04:00
util: add a function to set umask to 077
Useful to ensure files are written without group/other read rights.
This commit is contained in:
parent
e7c8a32a28
commit
7385c036bd
2 changed files with 11 additions and 0 deletions
|
@ -158,4 +158,6 @@ namespace tools
|
|||
/*! \brief where the installed handler is stored */
|
||||
static std::function<void(int)> m_handler;
|
||||
};
|
||||
|
||||
void set_strict_default_file_permissions(bool strict);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue