diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-04-06 20:00:25 +0100 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-04-06 20:00:25 +0100 |
commit | ed61a2ccc1bc38a8e58ecef17e5831d1e406cd0b (patch) | |
tree | b265cef2b891572be4d725f4b993d398436590f9 | |
parent | util: add a function to set umask to 077 (diff) | |
download | monero-ed61a2ccc1bc38a8e58ecef17e5831d1e406cd0b.tar.xz |
simplewallet: set strict umask at start
-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 aa571755f..3d1410f43 100644 --- a/src/simplewallet/simplewallet.cpp +++ b/src/simplewallet/simplewallet.cpp @@ -2807,6 +2807,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]); |