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/simplewallet.cpp | |
| parent | 784a2108f45af0dd2c14a1ec332d9f1b5b8ed966 (diff) | |
| parent | ed61a2ccc1bc38a8e58ecef17e5831d1e406cd0b (diff) | |
| download | monzero-core-a299e5269b4a46f80a340940ec21f707e8dc8c7c.tar.gz monzero-core-a299e5269b4a46f80a340940ec21f707e8dc8c7c.tar.xz monzero-core-a299e5269b4a46f80a340940ec21f707e8dc8c7c.zip | |
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/simplewallet.cpp')
| -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]); |
