Skip to content
Snippets Groups Projects
Commit 155482d1 authored by deuce's avatar deuce
Browse files

Added utter paranoia. The *maximum* permissions possible for Synchronet

to create a file as now are 0700
parent 0e19a4a7
No related branches found
No related tags found
No related merge requests found
......@@ -859,6 +859,9 @@ int main(int argc, char** argv)
#ifdef __QNX__
setlocale( LC_ALL, "C-TRADITIONAL" );
#endif
#ifdef __unix__
umask(077);
#endif
printf("\nSynchronet Console for %s Version %s%c %s\n\n"
,PLATFORM_DESC,VERSION,REVISION,COPYRIGHT_NOTICE);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment