Find the answer to your Linux question:
Results 1 to 10 of 10
when i use a turkish charachter in password, the rar file cant get extracted for ever. even if you write the password correct. this is a serious bug and i ...
  1. #1
    Just Joined!
    Join Date
    Aug 2010
    Posts
    5

    Rar password bug

    when i use a turkish charachter in password, the rar file cant get extracted for ever. even if you write the password correct.

    this is a serious bug and i hope you guys can tell me how to get my files back.

    thanks.

  2. #2
    Linux Engineer Segfault's Avatar
    Join Date
    Jun 2008
    Location
    Acadiana
    Posts
    855
    RAR is not open source, nor is it preferred compression method in *NIX world.
    A good method to have files back is restoring from backup.

    I'd contact the author of RAR if I had such a problem.

  3. #3
    Just Joined!
    Join Date
    Aug 2010
    Posts
    5
    how do i restore from backup? i didnt have any backup, if ubuntu doesnt for itself. (like windows does)

    i see that rar issue doesnt fit to unix. but still ubuntu is the most user friendly version you know. i think that bug must have been fixed. it may couse to serious data loss.

  4. #4
    Linux Engineer Segfault's Avatar
    Join Date
    Jun 2008
    Location
    Acadiana
    Posts
    855
    Quote Originally Posted by dolunayisi View Post
    how do i restore from backup? i didnt have any backup, if ubuntu doesnt for itself. (like windows does)
    Gee, I didn't know Windows goes and buys some backup device for you and backs up all your stuff on it! What a wonderful operating system from Microsoft.
    Quote Originally Posted by dolunayisi View Post
    i see that rar issue doesnt fit to unix. but still ubuntu is the most user friendly version you know. i think that bug must have been fixed. it may couse to serious data loss.
    If you think you have found a bug then file it with the author. Ubuntu has nothing to do with RAR development.

  5. #5
    Linux Guru Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    2,102
    Actually, Windows does System Restore Points. (which are nice)
    That includes drivers, installed programs and even (to my surprise) the state of a *running* application at that point in time)

    I am sure, one can include the documents folder and data directories, but they are *not* included by default.
    Just tested it

    Also this is a filesystem snapshot, not a file level backup, but I am nitpicking.

    For your problem:
    Probably there is a encoding issue.
    As in: the password was entered in a different context compared to the one you try to extract.
    It is also possible, that there is indeed an issue within rar with unusual chars in general. Then you have a problem..
    I guess your best bet is to take that file and use a different (windows/mac) rar archiever on it.
    You must always face the curtain with a bow.

  6. #6
    Just Joined!
    Join Date
    Aug 2010
    Posts
    5
    @4

    dude stop fun boy'ing around please. we both know system restore is a useful facility. it belongs to microsoft i know but that doesnt make it bad.

    and winrar doesnt have any bug, this bug belongs to ubuntu. ubuntu has an embeded rar program in it and that program causes some data loss. i d rather use wine-winrar combo and have no data loss if i have known this bug earlier. what should i be telling to the author of the winrar again?

    @5 i remembered that about the system restore now. but it is also a good thing, you dont lose new files and folders which are also important.

    btw, i am sure there is an easy solution to that problem. i feel like it is an unicode issue. but somehow i couldnt fix it.

  7. #7
    Just Joined!
    Join Date
    Aug 2010
    Posts
    5
    i tried windows and winrar and also had an incorrect password error.

    also tried unrar in terminal. same result.

  8. #8
    Linux Engineer Segfault's Avatar
    Join Date
    Jun 2008
    Location
    Acadiana
    Posts
    855
    Quote Originally Posted by Irithori View Post
    Actually, Windows does System Restore Points. (which are nice)
    Backing up the system and backing up the user files are two different things.
    If your OS tends to bork itself, then yes, it would be useful to have spare copies of it.
    Does not help a bit if you have a hard drive failure.
    I'd recommend using operating systems that do not die on regular basis and backing up user files to a device which is not the primary hard drive drive.

    @dolunayisi,

    Ubuntu does not develop RAR, it is provided as courtesy in case you need to unrar something. RAR is undocumented, nobody can help you but the person who has sources.

  9. #9
    Linux Guru Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    2,102
    Hmm, I couldnt find a way to pass the password via a textfile to unrar.

    But maybe a small wrapper script can help.
    Code:
    #!/bin/sh
    unrar x -pPASSWORD test.rar
    Save versions of that in utf-8, utf-16 and whatever is appropiate for turkey.


    Other than that, Segfault does have a point:
    rar is not open source, so ubuntu cannot alter it, even if they wanted to.

    So, if that proves to be a bug, then only these guys WinRAR archiver, a powerful tool to process RAR and ZIP files can fix it and should therefore get the bug report.
    You must always face the curtain with a bow.

  10. #10
    Just Joined!
    Join Date
    Aug 2010
    Posts
    5
    thx people. i am gonna bug report to winrar then.

    will try the script also.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...