[tor-bugs] #2568 [Torflow]: IOError: [Errno 36] File name too long:

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Mon Apr 18 18:22:03 UTC 2011


#2568: IOError: [Errno 36] File name too long:
---------------------+------------------------------------------------------
 Reporter:  stars    |          Owner:  mikeperry
     Type:  defect   |         Status:  new      
 Priority:  normal   |      Milestone:           
Component:  Torflow  |        Version:           
 Keywords:           |         Parent:           
   Points:  3        |   Actualpoints:           
---------------------+------------------------------------------------------

Comment(by aagbsn):

 https://github.com/aagbsn/torflow/commits/ticket2568

 todo: need to figure out how to determine what the OS limits are, or
 handle obscure cases gracefully. see:
 http://ubuntuforums.org/showthread.php?t=1173541
 for example of obscure case.

 the majority of operating systems have a 255 character filename limit:
 http://en.wikipedia.org/wiki/Filename

 the fix could assume a limitation of 255 and raise a warning and discard
 the result if open() fails with these assumptions.

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/2568#comment:3>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list