aboutsummaryrefslogtreecommitdiff
path: root/src/simplewallet/simplewallet.cpp
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-04-06 20:00:25 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-04-06 20:00:25 +0100
commited61a2ccc1bc38a8e58ecef17e5831d1e406cd0b (patch)
treeb265cef2b891572be4d725f4b993d398436590f9 /src/simplewallet/simplewallet.cpp
parentutil: add a function to set umask to 077 (diff)
downloadmonero-ed61a2ccc1bc38a8e58ecef17e5831d1e406cd0b.tar.xz
simplewallet: set strict umask at start
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 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]);