[tor-bugs] #1101 [Tor Client]: getinfo config-file doesn't handle relative paths well

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Sun Dec 4 16:43:40 UTC 2011

#1101: getinfo config-file doesn't handle relative paths well
 Reporter:  arma                |           Type:  defect    
   Status:  new                 |       Priority:  major     
Milestone:  Tor: 0.2.3.x-final  |      Component:  Tor Client
  Version:            |     Resolution:  None      
 Keywords:  easy                |         Parent:            
   Points:                      |   Actualpoints:            

Comment(by krkhan):

 rransom_ explained on IRC how realpath() is not a good choice for this
 since it expands symlinks as well.

 I still have a question though. What's so bad about traversing symlinks if
 a SIGHUP shall reach load_torrc_from_disk() again anyway?

 Still, as per our discussion
 here]'s an initial commit which prepends CWD on POSIX systems for
 filenames which do not start with '/' or '.'.

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

More information about the tor-bugs mailing list