summaryrefslogtreecommitdiffstats
path: root/febootstrap_yum_rpm.ml
diff options
context:
space:
mode:
Diffstat (limited to 'febootstrap_yum_rpm.ml')
-rw-r--r--febootstrap_yum_rpm.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/febootstrap_yum_rpm.ml b/febootstrap_yum_rpm.ml
index f6644b8..ca74f4a 100644
--- a/febootstrap_yum_rpm.ml
+++ b/febootstrap_yum_rpm.ml
@@ -221,7 +221,7 @@ let yum_rpm_get_file_from_package pkg file =
let outfile = tmpdir // file in
let cmd =
- sprintf "rpm2cpio %s | (cd %s && cpio --quiet -id .%s)"
+ sprintf "umask 0000; rpm2cpio %s | (cd %s && cpio --quiet -id .%s)"
(Filename.quote pkg) (Filename.quote tmpdir) (Filename.quote file) in
run_command cmd;
outfile