diff options
author | 2016-02-18 09:16:18 -0500 | |
---|---|---|
committer | 2016-02-18 09:16:18 -0500 | |
commit | 3a71eb2af9a2153c9d40d0e2f31093d8e7c87b01 (patch) | |
tree | e666a60107489ebf3b21459b73ef6f09d55e8afa /src | |
parent | Merge pull request #302 from jrabe/master (diff) | |
download | firejail-3a71eb2af9a2153c9d40d0e2f31093d8e7c87b01.tar.gz firejail-3a71eb2af9a2153c9d40d0e2f31093d8e7c87b01.tar.zst firejail-3a71eb2af9a2153c9d40d0e2f31093d8e7c87b01.zip |
added mkdir in all whitelisted profiles
Diffstat (limited to 'src')
-rw-r--r-- | src/firejail/fs_mkdir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/firejail/fs_mkdir.c b/src/firejail/fs_mkdir.c index 7c2b108c6..69bf2fae7 100644 --- a/src/firejail/fs_mkdir.c +++ b/src/firejail/fs_mkdir.c | |||
@@ -57,7 +57,7 @@ void fs_mkdir(const char *name) { | |||
57 | errExit("setuid/getuid"); | 57 | errExit("setuid/getuid"); |
58 | 58 | ||
59 | // create directory | 59 | // create directory |
60 | if (mkdir(expanded, 0755) == -1) | 60 | if (mkdir(expanded, 0700) == -1) |
61 | fprintf(stderr, "Warning: cannot create %s directory\n", expanded); | 61 | fprintf(stderr, "Warning: cannot create %s directory\n", expanded); |
62 | exit(0); | 62 | exit(0); |
63 | } | 63 | } |