This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: file name too long

Paul Cantalupo wrote:

I updated my cygwin installation to 1.5.25-15 but I'm still getting
'file name too long' errors when trying to extract a .tgz archive that
contains some really long pathnames.

Here is an example of one of the errors:

tar: S1172_Spanish_Protin_Total_Nucleic_Acid/S1172_Spanish_Protin_Total_Nucleic_Acid.fa.cdhit_out.masked.goodSeq_HGblast/S1172_Spanish_Protin_Total_Nucleic_Acid.fa.cdhit_out.masked.goodSeq_file7.HGblast.out:
Cannot open: File name too long

This name is only 201 chars long; I thought Windows max file length was 255. Interestingly, even some of the files that 'tar' can extract, 'ls' returns an error when I try to see the contents of the directory:

ls: cannot access
File name too long

I found this (
discussion of what seems to be the same problem that I am having. So,
was a fix ever implemented? Is there a workaround to this problem
other than installing Linux?

Yes, it was implemented for the upcoming Cygwin 1.7 release, now in release testing:


Larry Hall                    
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746


A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?

Unsubscribe info:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]