Skip to content
Snippets Groups Projects
Commit 1ff67a5c authored by deuce's avatar deuce
Browse files

Set umask to 077 since syncterm.lst will contain password info.

parent ff47012c
Branches
Tags
No related merge requests found
#include <sys/stat.h>
#include <gen_defs.h>
#include <stdlib.h>
#include <ciolib.h>
......@@ -131,6 +133,10 @@ int main(int argc, char **argv)
FULLPATH(path,drive,sizeof(path));
atexit(uifcbail);
#ifdef __unix__
umask(077);
#endif
/* User BBS list path */
home=getenv("HOME");
if(home==NULL)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment