diff --git a/src/vfs/extfs/helpers/urar.in b/src/vfs/extfs/helpers/urar.in
index 5453d31..b35cd03 100644
a
|
b
|
fi |
35 | 35 | |
36 | 36 | mcrar4fs_list () |
37 | 37 | { |
38 | | $UNRAR v -c- -cfg- "$1" | @AWK@ -v uid=`id -u` -v gid=`id -g` ' |
| 38 | $UNRAR v -c- -p- -cfg- "$1" | @AWK@ -v uid=`id -u` -v gid=`id -g` ' |
39 | 39 | BEGIN { flag=0 } |
40 | 40 | /^-------/ { flag++; if (flag > 1) exit 0; next } |
41 | 41 | flag==1 { |
… |
… |
flag==1 { |
53 | 53 | |
54 | 54 | mcrar5fs_list () |
55 | 55 | { |
56 | | $UNRAR vt -c- -cfg- "$1" | @AWK@ -F ':' -v uid=`id -u` -v gid=`id -g` ' |
| 56 | $UNRAR vt -c- -p- -cfg- "$1" | @AWK@ -F ':' -v uid=`id -u` -v gid=`id -g` ' |
57 | 57 | { |
58 | 58 | ### remove space after the ":" of the field name |
59 | 59 | sub ("^ ", "", $2); |
diff --git a/src/vfs/extfs/helpers/uzip.in b/src/vfs/extfs/helpers/uzip.in
index 22466db..60a1158 100644
a
|
b
|
my $cmd_addlink = "$app_zip -g -y"; |
32 | 32 | # Command used to delete a file from the archive |
33 | 33 | my $cmd_delete = "$app_zip -d"; |
34 | 34 | # Command used to extract a file to standard out |
35 | | my $cmd_extract = "$app_unzip -p"; |
| 35 | my $cmd_extract = "$app_unzip -p -P \"\""; |
36 | 36 | |
37 | 37 | # -rw-r--r-- 2.2 unx 2891 tx 1435 defN 20000330.211927 ./edit.html |
38 | 38 | # (perm) (?) (?) (size) (?) (zippedsize) (method) (yyyy)(mm)(dd).(HH)(MM)(SS) (fname) |
diff --git a/src/vfs/extfs/helpers/u7z b/src/vfs/extfs/helpers/u7z
index 91301c3d9..603c976d3 100755
a
|
b
|
mcu7zip_copyout () |
74 | 74 | #first we check if we have old p7zip archive with prefix ./ in filename |
75 | 75 | $P7ZIP l "$1" "$2" | grep -q "0 files, 0 folders" && \ |
76 | 76 | EXFNAME='*./'"$2" || EXFNAME="$2" |
77 | | $P7ZIP e -so "$1" "$EXFNAME" > "$3" 2>/dev/null |
| 77 | $P7ZIP e -so -p- "$1" "$EXFNAME" > "$3" 2>/dev/null |
78 | 78 | } |
79 | 79 | |
80 | 80 | mcu7zip_copyin () |