Cristian Rodríguez
El 22/08/13 15:19, dieter escribió:
mkdir testdir echo test > "testdir/testname_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789.txt" tar cJf testdir.tar.xz testdir
start mc, enter testdir.tar.xz the filename is limited to testname_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123
The tar archive itself is correct and tar xf correctly restores the full file-names.
If the same directory tree is zipped and the zip archive is entered with mc the filename is not truncated. The problem seems to be specific for the "utar://" vfs of mc.
The problem is observed with the mc packages included in 12.3 (mc-4.8.1.4-2.1.2) and also with 13.1M4/factory (mc-4.8.9-2.2).
Hrmm.. it might be some sort of primitive buffer overflow check or the plugin just shortens the filenames for display.. in any case, fill a bug report ;-)
mc before 4.0.14 did not support even symlinks mc may now be on a stete from around 1982. Before POSIX.1-1988 tar did only support filenames with max 100 chars. Jörg -- EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin js@cs.tu-berlin.de (uni) joerg.schilling@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org