diff options
author | Riccardo Spagni <ric@spagni.net> | 2016-04-14 16:21:29 +0900 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2016-04-14 16:21:29 +0900 |
commit | a299e5269b4a46f80a340940ec21f707e8dc8c7c (patch) | |
tree | 40e88484567b12235b1632faf759fc8788f07355 /src/simplewallet | |
parent | Merge pull request #800 (diff) | |
parent | simplewallet: set strict umask at start (diff) | |
download | monero-a299e5269b4a46f80a340940ec21f707e8dc8c7c.tar.xz |
Merge pull request #801
ed61a2c simplewallet: set strict umask at start (moneromooo-monero)
7385c03 util: add a function to set umask to 077 (moneromooo-monero)
Diffstat (limited to 'src/simplewallet')
-rw-r--r-- | src/simplewallet/simplewallet.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp index 30c958381..c053f462b 100644 --- a/src/simplewallet/simplewallet.cpp +++ b/src/simplewallet/simplewallet.cpp @@ -2812,6 +2812,7 @@ int main(int argc, char* argv[]) std::string lang = i18n_get_language(); tools::sanitize_locale(); + tools::set_strict_default_file_permissions(true); string_tools::set_module_name_and_folder(argv[0]); |