in reply to An "it-must-have-a-simple-answer" Archive::Tar question.

To answer my own question, I fixed the input to write() the same way as I had done with $temppath (i.e. s/\\/\\\\/g) and things appear to work correctly now. Everthing except for what appears to be some disrespect for case-sensitivity inside the archive... Dang; I just want to go home!
  • Comment on Re: An "it-must-have-a-simple-answer" Archive::Tar question.

Replies are listed 'Best First'.
Re: Re: An "it-must-have-a-simple-answer" Archive::Tar question.
by reds (Novice) on Apr 29, 2003 at 21:41 UTC
    Well, it turns out the case sensitivity isn't the problem (it must be WinZip that doesn't do it right) - the problem is that normally when I create a package, I specify:
    --mode=a+rwx --preserve-permissions
    So, the question then becomes, is it possible to specify such permissions on things from within Perl?
      Well, by issuing a chmod to the files before sticking them in the tar package it appears as if I've reached my desired functionality. Sorry to have cluttered up the section with my brain fart questions.

        Don't worry. I had problems with tar files not being parsed correctly when writing Archive::Ipkg myself, and was able to fix the problem by providing the correct mode (something like 010644 ?). Somewhere, someday, somebody will have the same problem, do a Super Search and find your node. It is not in vain :)