#88 files are extracted with windows path names

open
my space
None
5
2009-04-30
2009-04-30
Peter Heuchert
No

We received a zip file that creates files with full windows path on AIX.

Example:
7za x test.zip:

[0:pheuch@aix23]:pheuch/tt $ ls -l
total 279712
-rw------- 1 pheuch pheuch 6 Apr 29 17:33 \Program Files\IBM\tivoli\common\COP\logs\activityplan\activityplan.pid
-rw------- 1 pheuch pheuch 30863 Apr 29 17:33 \Program Files\IBM\tivoli\common\COP\logs\activityplan\activityplanengine_start.log
-rw------- 1 pheuch pheuch 876587 Apr 29 17:33 \Program Files\IBM\tivoli\common\COP\logs\activityplan\cbe.log
...

This is the output of 7za l -slt test.zip:

7-Zip (A) 4.65 Copyright (c) 1999-2009 Igor Pavlov 2009-02-03
p7zip Version 4.65 (locale=en_US,Utf16=on,HugeFiles=on,1 CPU)

Listing archive: /testfile.zip

----------

Path = C:\Program Files\IBM\tivoli\common\COP\logs\activityplan\activityplan.pid
Folder = -
Size = 6
Packed Size = 8
Modified = 2009-04-29 17:33:18
Created =
Accessed =
Attributes = .....
Encrypted = -
Comment =
CRC = B220AFDC
Method = Deflate
Host OS = FAT

Path = C:\Program Files\IBM\tivoli\common\COP\logs\activityplan\activityplanengine_start.log
Folder = -
Size = 30863
Packed Size = 1561
Modified = 2009-04-29 17:33:18
Created =
Accessed =
Attributes = .....
Encrypted = -
Comment =
CRC = FA1BEF22
Method = Deflate
Host OS = FAT

I'm sorry that I can not provide the zip file, but it contains customer data.

By the way, the inline function nameWindowToUnix in CPP/myWindows/myAddExeFlag.cpp checks for "c:" only. If the drive letter is upcase or a different drive letter is used , the test fails.

Regards
Peter

Discussion

  • my space
    my space
    2009-04-30

    • assigned_to: nobody --> myspace