Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

posix tar does not handle long filenames #2306

Closed
mc-butler opened this issue Aug 9, 2010 · 2 comments
Closed

posix tar does not handle long filenames #2306

mc-butler opened this issue Aug 9, 2010 · 2 comments
Labels
area: vfs Virtual File System support prio: medium Has the potential to affect progress

Comments

@mc-butler
Copy link

Important

This issue was migrated from Trac:

Origin https://midnight-commander.org/ticket/2306
Reporter jendap (jendap@….com)

Standard posix tar files have long filenames in extended headers (header "path=/some/very/long/filename").

The header is simply skipped now - see "Skip over pax extended header and global extended header records." in tar.c

Steps to reproduce the tar file:
echo "foo" >very_0_very_1_very_2_very_3_very_4_very_5_very_6_very_7_very_8_very_9_very_10_very_11_very_12_long_filename
tar cf foo.tar --format=posix very*

BTW: This is important especially in java world as there are deep directories and long filenames - virtually no tar file of any java project can be opened correctly in mc.

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Aug 10, 2010 at 4:05 UTC (comment 1)

  • Resolution set to duplicate
  • Status changed from new to closed
  • Milestone 4.7 deleted
  • Version 4.7.3 deleted

Duplicate of #2201.

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on Feb 21, 2025 at 7:37 UTC (comment 2)

  • Branch state set to no branch

Closed as duplicate of #2201.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: vfs Virtual File System support prio: medium Has the potential to affect progress
Development

No branches or pull requests

1 participant