diff options
-rw-r--r-- | README | 4 | ||||
-rw-r--r-- | src/firejail/fs_whitelist.c | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -18,8 +18,10 @@ License: GPL v2 | |||
18 | Firejail Authors: | 18 | Firejail Authors: |
19 | 19 | ||
20 | netblue30 (netblue30@yahoo.com) | 20 | netblue30 (netblue30@yahoo.com) |
21 | avoidr (https://github.com/avoidr) | ||
22 | - whitelist fix | ||
21 | Bruno Nova (https://github.com/brunonova) | 23 | Bruno Nova (https://github.com/brunonova) |
22 | -- whitelist fix | 24 | - whitelist fix |
23 | - bash arguments fix | 25 | - bash arguments fix |
24 | Matt Parnell (https://github.com/ilikenwf) | 26 | Matt Parnell (https://github.com/ilikenwf) |
25 | - whitelisting for core firefox related functionality | 27 | - whitelisting for core firefox related functionality |
diff --git a/src/firejail/fs_whitelist.c b/src/firejail/fs_whitelist.c index 740bdab3e..8b5444ebc 100644 --- a/src/firejail/fs_whitelist.c +++ b/src/firejail/fs_whitelist.c | |||
@@ -30,6 +30,8 @@ | |||
30 | static int mkpath(const char* path, mode_t mode) { | 30 | static int mkpath(const char* path, mode_t mode) { |
31 | assert(path && *path); | 31 | assert(path && *path); |
32 | 32 | ||
33 | mode |= 0111; | ||
34 | |||
33 | // create directories with uid/gid as root or as current user if inside home directory | 35 | // create directories with uid/gid as root or as current user if inside home directory |
34 | uid_t uid = getuid(); | 36 | uid_t uid = getuid(); |
35 | gid_t gid = getgid(); | 37 | gid_t gid = getgid(); |