Public bug reported:

Hardy 8.04 amd64 uptodate ; ii  p7zip-full
4.57~dfsg.1-1

I try to unpack an .7z archive which many dirs/subdirs.
But, 7z places all unpacked files, even from subdirectories, into ./ 
So, file packed as  dir/foo.txt is unpacked into ./foo.txt (and emty directory 
dir/ is created).

This leads to name collisions - dir1/changelog -vs- dir2/changelog etc.

Perhaps this is fault of person preparing the .7z archive? But I dont think so.
The archive which shows this problem is for example:
http://surfnet.dl.sourceforge.net/sourceforge/boost/boost_1_35_0.7z


See:

[EMAIL PROTECTED]:~/dap/boost2$ sha1sum boost_1_35_0.7z
eeeabde17d740444230e1287d77890ff0ba92d07  boost_1_35_0.7z

[EMAIL PROTECTED]:~/dap/boost2$ 7z e boost_1_35_0.7z

7-Zip 4.57  Copyright (c) 1999-2007 Igor Pavlov  2007-12-06
p7zip Version 4.57 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,2 CPUs)

Processing archive: boost_1_35_0.7z

Extracting  boost_1_35_0/boost/tr1/tr1/algorithm
Extracting  boost_1_35_0/libs/program_options/doc/alternatives
Extracting  boost_1_35_0/libs/function_types/build/timestamps/arity_loops
Extracting  boost_1_35_0/boost/tr1/tr1/array
Extracting  boost_1_35_0/tools/jam/src/boehm_gc/doc/barrett_diagram
Extracting  boost_1_35_0/tools/jam/src/boehm_gc/BCC_MAKEFILE
Extracting  boost_1_35_0/libs/graph/example/bcsstk01
Extracting  boost_1_35_0/boost/tr1/tr1/bitset
Extracting  boost_1_35_0/tools/jam/src/boehm_gc/callprocs
Extracting  boost_1_35_0/boost/compatibility/cpp_c_headers/cassert
Extracting  boost_1_35_0/boost/compatibility/cpp_c_headers/cctype
Extracting  boost_1_35_0/libs/function_types/build/timestamps/cc_names
Extracting  boost_1_35_0/boost/compatibility/cpp_c_headers/cerrno
Extracting  boost_1_35_0/boost/compatibility/cpp_c_headers/cfloat
Extracting  boost_1_35_0/tools/build/v2/debian/changelog
file changelog
already exists. Overwrite with
boost_1_35_0/tools/jam/src/debian/changelog?

(Y)es / (N)o / (A)lways / (S)kip all / A(u)to rename / (Q)uit? q

** Affects: p7zip (Ubuntu)
     Importance: Undecided
         Status: New

-- 
unpacks files wrongly - do not handled packed directories
https://bugs.launchpad.net/bugs/256709
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to