diff options
Diffstat (limited to 'src/firejail/bandwidth.c')
-rw-r--r-- | src/firejail/bandwidth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/firejail/bandwidth.c b/src/firejail/bandwidth.c index c372dd455..da894b321 100644 --- a/src/firejail/bandwidth.c +++ b/src/firejail/bandwidth.c | |||
@@ -118,7 +118,7 @@ void shm_create_firejail_dir(void) { | |||
118 | struct stat s; | 118 | struct stat s; |
119 | if (stat("/dev/shm/firejail", &s) == -1) { | 119 | if (stat("/dev/shm/firejail", &s) == -1) { |
120 | /* coverity[toctou] */ | 120 | /* coverity[toctou] */ |
121 | if (mkdir("/dev/shm/firejail", 0777) == -1) | 121 | if (mkdir("/dev/shm/firejail", 0644) == -1) |
122 | errExit("mkdir"); | 122 | errExit("mkdir"); |
123 | if (chown("/dev/shm/firejail", 0, 0) == -1) | 123 | if (chown("/dev/shm/firejail", 0, 0) == -1) |
124 | errExit("chown"); | 124 | errExit("chown"); |