Red Hat Bugzilla – Bug 132857
pax truncates really long file names
Last modified: 2007-11-30 17:07:04 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 Galeon/1.2.12 (X11; FreeBSD i386; U;) Gecko/0
Description of problem:
When I tell pax to archive a really long filename (more than 3K in
length), it says:
pax: Unable to access <a piece of the filename> <No such file or
pax: Unable to access <next piece of the filename> <No such file or
I'm invoking pax with xargs. When I feed the same inputs to `xargs
ls', ls is able to list the files without errors.
The arguments to pax are: pax -zwdx sv4crc.
Note: maybe this archive format has filename-length limitations, but
that doesn't matter. If so, the error is that the filename is too
long to be archived by pax, not that the file does not exist.
In the version of pax that I have source code for (FreeBSD's),
PAXPATHLEN is 3072, less than Linux's PATH_MAX (4096).
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Created attachment 104932 [details]
Could u write steps to reproduce the bug? I would like to test the patch.