diff options
author | netblue30 <netblue30@yahoo.com> | 2015-11-12 09:16:45 -0500 |
---|---|---|
committer | netblue30 <netblue30@yahoo.com> | 2015-11-12 09:16:45 -0500 |
commit | 9628eeaf6569706b49a971aa42be0e19e5b8dd52 (patch) | |
tree | fb30ad41326e404768bd84ed0518379a17f21be6 | |
parent | added .cache/mozilla/firefox to Firefox whitelist (diff) | |
download | firejail-9628eeaf6569706b49a971aa42be0e19e5b8dd52.tar.gz firejail-9628eeaf6569706b49a971aa42be0e19e5b8dd52.tar.zst firejail-9628eeaf6569706b49a971aa42be0e19e5b8dd52.zip |
fixes
-rw-r--r-- | src/firejail/fs_whitelist.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/firejail/fs_whitelist.c b/src/firejail/fs_whitelist.c index fd9115a5e..073e247dc 100644 --- a/src/firejail/fs_whitelist.c +++ b/src/firejail/fs_whitelist.c | |||
@@ -64,7 +64,6 @@ static void whitelist_path(ProfileEntry *entry) { | |||
64 | char *wfile; | 64 | char *wfile; |
65 | 65 | ||
66 | if (entry->home_dir) { | 66 | if (entry->home_dir) { |
67 | printf("here %d\n", __LINE__); | ||
68 | fname = path + strlen(cfg.homedir); | 67 | fname = path + strlen(cfg.homedir); |
69 | if (*fname == '\0') { | 68 | if (*fname == '\0') { |
70 | fprintf(stderr, "Error: file %s is not in user home directory, exiting...\n", path); | 69 | fprintf(stderr, "Error: file %s is not in user home directory, exiting...\n", path); |
@@ -75,7 +74,6 @@ printf("here %d\n", __LINE__); | |||
75 | errExit("asprintf"); | 74 | errExit("asprintf"); |
76 | } | 75 | } |
77 | else if (entry->tmp_dir) { | 76 | else if (entry->tmp_dir) { |
78 | printf("here %d\n", __LINE__); | ||
79 | fname = path + 4; // strlen("/tmp") | 77 | fname = path + 4; // strlen("/tmp") |
80 | if (*fname == '\0') { | 78 | if (*fname == '\0') { |
81 | fprintf(stderr, "Error: file %s is not in /tmp directory, exiting...\n", path); | 79 | fprintf(stderr, "Error: file %s is not in /tmp directory, exiting...\n", path); |
@@ -87,9 +85,6 @@ printf("here %d\n", __LINE__); | |||
87 | } | 85 | } |
88 | 86 | ||
89 | // check if the file exists | 87 | // check if the file exists |
90 | printf("here %d %s\n", __LINE__, wfile); | ||
91 | system("ls -l /run/firejail/mnt/orig-tmp"); | ||
92 | |||
93 | struct stat s; | 88 | struct stat s; |
94 | if (stat(wfile, &s) == 0) { | 89 | if (stat(wfile, &s) == 0) { |
95 | if (arg_debug) | 90 | if (arg_debug) |