Skip to content

Commit

Permalink
Change default umask from 0777 to 0027
Browse files Browse the repository at this point in the history
  • Loading branch information
tiran committed Jun 19, 2022
1 parent 854adf6 commit 922be70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/lib/libc/emscripten_syscall_stubs.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ static int g_pid = 42;
static int g_pgid = 42;
static int g_ppid = 1;
static int g_sid = 42;
static mode_t g_umask = S_IRWXU | S_IRWXG | S_IRWXO;
static mode_t g_umask = 0 | S_IWGRP | S_IRWXO;

#ifdef NDEBUG
#define REPORT(name)
Expand Down

0 comments on commit 922be70

Please sign in to comment.