unrar fails on case-sensitive filesystems

Report & discuss bugs found in SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
User avatar
gyre
Newbie
Newbie
Posts: 29
Joined: June 19th, 2008, 6:24 am

unrar fails on case-sensitive filesystems

Post by gyre »

I've recently had some rar files fail to unpack on Linux.  The reason is that some of the parts of the rar archive have a different case to others.

For example:

foo.rar
foo.r01
FoO.r02
foo.r03

unrar will complain it can't find foo.r02.

Presumably this archive has been created on a filesystem where the case doesn't matter.

Is it possible for SAB to pre-process the rar filenames so that unrar is happy with them?  Alternatively, tweak unrar so that it isn't case-sensitive?

Thanks!

-- gyre --
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: unrar fails on case-sensitive filesystems

Post by shypike »

Not much we can do.
SABnzbd doesn't know what unrar will expect, since it doesn't look inside the RAR files.
This specific case may look easy to solve, but it would be hard to create a general solution
to this kind of problem.
User avatar
gyre
Newbie
Newbie
Posts: 29
Joined: June 19th, 2008, 6:24 am

Re: unrar fails on case-sensitive filesystems

Post by gyre »

I understand what you're saying.

It's a pity we can't beat on the unrar sources to do this.

There is a yukky workaround that I'm going to try for a bit:

http://www.learnosity.com/techblog/inde ... nux--HOWTO

-- gyre --
Post Reply