rar archives with password
- From: Vladimir Nadvornik <nadvornik suse cz>
- To: MC Devel <mc-devel gnome org>
- Subject: rar archives with password
- Date: Thu, 4 Nov 2004 11:58:50 +0100
Hi,
urar virtual filesystem hangs on archives with password. This patch
adds an option -p- to unrar to disable password prompt.
I couldn't test it with rar.
--
Vladimir Nadvornik
developer
---------------------------------------------------------------------
SuSE CR, s.r.o. e-mail: nadvornik suse cz
Drahobejlova 27 tel:+420 2 9654 2373
190 00 Praha 9 fax:+420 2 9654 2374
Ceska republika http://www.suse.cz
--- vfs/extfs/urar.in
+++ vfs/extfs/urar.in
@@ -24,7 +24,7 @@
mcrarfs_list ()
{
- $UNRAR v -c- "$1" | @AWK@ -v uid=${UID-0} '
+ $UNRAR v -p- -c- "$1" | @AWK@ -v uid=${UID-0} '
BEGIN { flag=0; date="JanFebMarAprMayJunJulAugSepOctNovDec" }
/^-------/ { flag++; if (flag > 1) exit 0; next }
{
@@ -69,7 +69,7 @@
mcrarfs_copyout ()
{
- $UNRAR p -c- -inul "$1" "$2" > "$3"
+ $UNRAR p -p- -c- -inul "$1" "$2" > "$3"
}
mcrarfs_mkdir ()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]