[tor-bugs] #18959 [Core Tor/Stem]: Poor error when unable to read the auth cookie

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun May 8 20:36:40 UTC 2016


#18959: Poor error when unable to read the auth cookie
---------------------------+-------------------------
 Reporter:  atagar         |          Owner:  atagar
     Type:  defect         |         Status:  closed
 Priority:  Low            |      Milestone:
Component:  Core Tor/Stem  |        Version:
 Severity:  Minor          |     Resolution:  wontfix
 Keywords:                 |  Actual Points:
Parent ID:                 |         Points:
 Reviewer:                 |        Sponsor:
---------------------------+-------------------------
Changes (by atagar):

 * status:  new => closed
 * resolution:   => wontfix


Comment:

 On reflection I don't believe this can be fixed. os.path.exists() only
 fails "if permission is not granted to execute os.stat() on the requested
 file", but to check for read permissions we also need os.stat().

 On my platform (Ubuntu) os.path.exists() and os.path.stat() works as
 expected. If folks have some uber locked down system that breaks os.stat()
 then they're asking for the confusion.

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


More information about the tor-bugs mailing list