-
-
Notifications
You must be signed in to change notification settings - Fork 183
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
regress in https://github.com/npm/node-tar/issues/81 ? #217
Comments
Seems like file name limited to 99 characters. The tar cmd line utility allows to use 99+ characters, so behaviour of your module is non standard and this must be documented in readme. According to this doc Is there an ability to switch the format to gnu or posix? |
It does not seem that way to me. Can you try running this minimal test script and tell me what you get as a result? https://gist.github.com/isaacs/fd8e135cf2a38aa0425f40ad4aa3b481 Node-tar uses the PAX/Posix header by default when the filename is longer than 99 characters. It does not use the Gnu style LongFilename or LongLinkname entries, but it will interpret them if present. What are you using to unpack or list the file? |
Hi!
So my mc does truncate longname in artefacts/longname-archive-node-tar.tgz So, sorry for false alarm and thank you for answer. This is the output:
|
Probably there is regress in #81
The text was updated successfully, but these errors were encountered: