Skip to content
Snippets Groups Projects
Commit 3bc91f5e authored by deuce's avatar deuce
Browse files

Allow Sysop to specify a more relaxed umask in the sbbs.ini file

(umask key in the unix section)
parent 0a78b69b
No related branches found
No related tags found
No related merge requests found
......@@ -1028,7 +1028,8 @@ int main(int argc, char** argv)
SAFECOPY(new_gid_name,iniGetString(fp,"UNIX","Group","",value));
is_daemon=iniGetBool(fp,"UNIX","Daemonize",FALSE);
SAFECOPY(daemon_type,iniGetString(fp,"UNIX","LogFacility","U",value));
#endif
umask(iniGetInteger(fp,"UNIX","umask",077));
#endif
/* close .ini file here */
if(fp!=NULL)
fclose(fp);
......
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