aboutsummaryrefslogtreecommitdiff
path: root/src/simplewallet/simplewallet.cpp
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2016-04-14 16:21:29 +0900
committerRiccardo Spagni <ric@spagni.net>2016-04-14 16:21:29 +0900
commita299e5269b4a46f80a340940ec21f707e8dc8c7c (patch)
tree40e88484567b12235b1632faf759fc8788f07355 /src/simplewallet/simplewallet.cpp
parent784a2108f45af0dd2c14a1ec332d9f1b5b8ed966 (diff)
parented61a2ccc1bc38a8e58ecef17e5831d1e406cd0b (diff)
downloadmonzero-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.cpp1
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]);