Also tried rarlab.com's unrar 3.10 version. None can extract password
protected rar archives though password is correct as it works in
Windows..
# unrar e test.rar
Encrypted file: CRC failed in test.rar (password incorrect ?)
No files to extract
# unrar e -p test.rar
Enter password (will not be echoed):
Reenter password:
UNRAR 3.51 freeware Copyright (c) 1993-2005 Alexander Roshal
Encrypted file: CRC failed in test.rar (password incorrect ?)
No files to extract
Am I only one to face this problem!
---------------------------------------------------------------
Solaris 10 update 6 on x86
How did you transfer the file from the Windows machine to the
Solaris 10 machine?
-Greg
--
Do NOT reply via e-mail.
Reply in the newsgroup.
It's dual boot having both Solaris and Windows. Copied files from
Solaris to mounted fat32 partitions and Windows can extract those
archives.
I have same issue.
Look at the file's MD5 or PGP checksum on each host to
confirm that the files are actually identical, and not
corrupted somehow.
\:-\
According to the Wikipedia:
Begin Quote-----
RAR files can be created ONLY [emphasis mine] with
commercial software WinRAR, RAR, and software that
has permission from the author, Alexander Roshal.
[1] RAR for Pocket PC is the only free software for
creating RAR files.
Squeez is commercial software available only for
Microsoft Windows that can read and write RAR files.
It can write RAR 1.5 and RAR 2.0 files and supports
basic encryption.[6]
Third party programs that can only read (unpack)
RAR files include 7-Zip (multiplatform), IZArc
(Windows), PeaZip (Windows, Linux), Zipeg (Windows,
MacOS), and ALZip (Windows), along with the free
version of unrar (which is also available for
Linux and FreeBSD). Mac OS X readers include
Stuffit Expander, The Unarchiver and Zipeg.
Stuffit Expander is also available for Mac OS
Classic with RAR support for this platform.
-----End Quote.
It is very possible that the implementation ported to
Solaris is not a complete implementation and does not
include any password features.
The version available on sunfreeware.com originated at
freshmeat.net. That is probably the place to direct
your questions in this regard.
Essentially, RAR is NOT free-of-charge Open Source software.
It uses proprietary algorithms and the authors hope to
make a profit from it. Any version on any platform that
you get for FREE should be immediately suspect.
I would suggest that, in lieu of using RAR, that you try
using gzip instead. It compresses slightly less than RAR,
but it IS 100% free to use and it IS available on every
known variant of Unix, Windows, Mac, etc.
\:-\
> I just saved password-protected RAR file from rapidshare.com to
> OpenSolaris machine, and couldn't open it. Then copied this file to
> Windows, using USB stick, and WinRAR extracted it easily (after
> providing same password I tried in OpenSolaris).
I'd avoid rar format myself. Why use a proprietary format, when open
ones exist? If possible, I'd send it back to someone and ask them to put
it in a format that is commonly used, like Zip for example.
--
I respectfully request that this message is not archived by companies as
unscrupulous as 'Experts Exchange' . In case you are unaware,
'Experts Exchange' take questions posted on the web and try to find
idiots stupid enough to pay for the answers, which were posted freely
by others. They are leeches.
We can use open softwares in this purpose. But in case of extracting
rar files I have to use the Windows OS and winrar.
Crappy proprietar softwares!
Which was answered soon after. Relax.
Yah, I re-read where it was answered soon after,
and so I canceled that posting. (My wife always
complains that I don't "read", I "scan", which is
great for getting the gist of things quickly, but
you do occasionally miss important details.)
Unfortunately, canceled postings sometimes get read anyway.
<:-(
Kinda good news.