aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2021-07-04 00:26:25 +0000
committermerakor <cem@ckyln.com>2021-07-04 00:26:25 +0000
commitf12f0203579a57348b7509f77d9f06c27d84490e (patch)
treef5cb3f6fd6ecf135e398d0d5d08055dd47e90c03 /src
parent397a709a5225cf30932d7646d60b5258528e9afd (diff)
downloadcpt-f12f0203579a57348b7509f77d9f06c27d84490e.tar.gz
pkg_install: preserve setuid
FossilOrigin-Name: 4444b71a22c2626e90302d512cfc9878d39a5d12488e893b29502e0f496a34f5
Diffstat (limited to 'src')
-rw-r--r--src/cpt-lib.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpt-lib.in b/src/cpt-lib.in
index c3aa9ec..ea00bb9 100644
--- a/src/cpt-lib.in
+++ b/src/cpt-lib.in
@@ -1499,7 +1499,7 @@ pkg_install() {
log "$pkg_name" "Extracting $tar_file"
# Extract the tarball to catch any errors before installation begins.
- decompress "$tar_file" | pax -r
+ decompress "$tar_file" | pax -rpp
[ -f "./$pkg_db/$pkg_name/manifest" ] ||
die "'${tar_file##*/}' is not a valid CPT package"