diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-01-23 01:12:10 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-01-23 01:17:55 +0100 |
commit | e026c242af5b724da53e4944aab2645547644cf7 (patch) | |
tree | b1ac3f01f105c9939ef3c5f0c2984db19d83efd6 /src/import | |
parent | d875aa8ce10b458dc218c0d98f4a82c8904d6d03 (diff) |
import: we need CAP_DAC_OVERRIDE for untarring systems after all
Diffstat (limited to 'src/import')
-rw-r--r-- | src/import/import-common.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/import/import-common.c b/src/import/import-common.c index f4643133e9..e5531b89c5 100644 --- a/src/import/import-common.c +++ b/src/import/import-common.c @@ -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 */ |