chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d0b55c
)
import: make sure we don't mangle file ownerships with the local passwd database...
author
Lennart Poettering
<lennart@poettering.net>
Tue, 13 Jan 2015 12:52:49 +0000
(13:52 +0100)
committer
Lennart Poettering
<lennart@poettering.net>
Tue, 13 Jan 2015 12:55:15 +0000
(13:55 +0100)
src/import/import-dkr.c
patch
|
blob
|
history
diff --git
a/src/import/import-dkr.c
b/src/import/import-dkr.c
index a3f390ca826da3abc094312eeba940b54186421c..b54a1a6d94b5eeeb9dcd9e2d938544022cfb2367 100644
(file)
--- a/
src/import/import-dkr.c
+++ b/
src/import/import-dkr.c
@@
-493,7
+493,7
@@
static int dkr_import_job_run_tar(DkrImportJob *job) {
if (null_fd != STDOUT_FILENO)
safe_close(null_fd);
- execlp("tar", "tar", "-C", job->temp_path, gzip ? "-x
z" : "-x
", NULL);
+ execlp("tar", "tar", "-C", job->temp_path, gzip ? "-x
pz" : "-px", "--numeric-owner
", NULL);
_exit(EXIT_FAILURE);
}