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 directory> pax: Unable to access <next piece of the filename> <No such file or directory> ... etc. 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): pax v3 How reproducible: Always Steps to Reproduce: Additional info:
Created attachment 104932 [details] patch PAXPATHMAX
Could u write steps to reproduce the bug? I would like to test the patch.