diff options
Diffstat (limited to 'src/firejail/chroot.c')
-rw-r--r-- | src/firejail/chroot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/firejail/chroot.c b/src/firejail/chroot.c index 9ebbcea1a..ec5363ced 100644 --- a/src/firejail/chroot.c +++ b/src/firejail/chroot.c | |||
@@ -111,7 +111,7 @@ static void check_subdir(int parentfd, const char *subdir, int check_writable) { | |||
111 | exit(1); | 111 | exit(1); |
112 | } | 112 | } |
113 | if (s.st_uid != 0) { | 113 | if (s.st_uid != 0) { |
114 | fprintf(stderr, "Error: chroot /%s should owned by root\n", subdir); | 114 | fprintf(stderr, "Error: chroot /%s should be owned by root\n", subdir); |
115 | exit(1); | 115 | exit(1); |
116 | } | 116 | } |
117 | if (check_writable && ((S_IWGRP|S_IWOTH) & s.st_mode) != 0) { | 117 | if (check_writable && ((S_IWGRP|S_IWOTH) & s.st_mode) != 0) { |