proper umask
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4310 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
a7ae019046
commit
21816d8036
1 changed files with 1 additions and 1 deletions
|
@ -1037,7 +1037,7 @@ int CEXEBuild::doCommand(int which_token, LineParser &line)
|
|||
#else
|
||||
char t[] = "/tmp/makensisXXXXXX";
|
||||
|
||||
mode_t old_umask = umask(0600);
|
||||
mode_t old_umask = umask(0077);
|
||||
|
||||
int fd = mkstemp(t);
|
||||
if (fd == -1) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue