aboutsummaryrefslogtreecommitdiff
path: root/src/simplewallet
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
parentMerge pull request #800 (diff)
parentsimplewallet: set strict umask at start (diff)
downloadmonero-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.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]);