import: we need CAP_DAC_OVERRIDE for untarring systems after all

This commit is contained in:
Lennart Poettering
2015-01-23 01:17:55 +01:00
parent d875aa8ce1
commit e026c242af
+2 -1
View File
@@ -471,7 +471,8 @@ int import_fork_tar(const char *path, pid_t *ret) {
(1ULL << CAP_FOWNER) |
(1ULL << CAP_FSETID) |
(1ULL << CAP_MKNOD) |
(1ULL << CAP_SETFCAP);
(1ULL << CAP_SETFCAP) |
(1ULL << CAP_DAC_OVERRIDE);
/* Child */