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:
Hello,

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
S1172_Spanish_Protin_Total_Nucleic_Acid.fa.cdhit_out.masked.goodSeq_file0.fa:
File name too long

I found this (http://www.cygwin.com/ml/cygwin-developers/2008-01/msg00000.html)
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:

<http://cygwin.com/ml/cygwin-announce/2009-02/msg00018.html>

--
Larry Hall                              http://www.rfk.com
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:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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