Preserve suid/gid permissions when extracting packages remotelly
fetched with -r option Reviewed by: will Approved by: will
This commit is contained in:
parent
650738429c
commit
92447140f7
@ -222,7 +222,7 @@ fileGetURL(const char *base, const char *spec)
|
||||
dup2(pfd[0], 0);
|
||||
for (fd = getdtablesize() - 1; fd >= 3; --fd)
|
||||
close(fd);
|
||||
execl("/usr/bin/tar", "tar", Verbose ? "-xzvf" : "-xzf", "-",
|
||||
execl("/usr/bin/tar", "tar", Verbose ? "-xzpvf" : "-xzpf", "-",
|
||||
(char *)0);
|
||||
_exit(2);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user