[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #2498 [Vidalia]: Vidalia is not honoring the data directory although specified in the command line option



#2498: Vidalia is not honoring the data directory although specified in the
command line option
----------------------+-----------------------------------------------------
 Reporter:  toruser1  |          Owner:  chiiph
     Type:  defect    |         Status:  new   
 Priority:  major     |      Milestone:        
Component:  Vidalia   |        Version:        
 Keywords:            |         Parent:        
   Points:            |   Actualpoints:        
----------------------+-----------------------------------------------------

Comment(by jrklein):

 If I run Vidalia (0.2.13-git) on a system with no configuration files, I
 am prompted for the location of tor (as expected).  I specify tor
 location, save settings, successfully connect to the tor network, then
 exit Vidalia.

 $ ./Vidalia.app/Contents/MacOS/Vidalia

 Afterwards, I see that the following files were created in my home
 directory.

 Library/Vidalia/torrc
 Library/Vidalia/torrc.orig.1
 Library/Vidalia/vidalia.conf

 .tor/
 .tor/cached-certs
 .tor/cached-consensus
 .tor/cached-descriptors
 .tor/cached-descriptors.new
 .tor/lock
 .tor/state

 I remove the configuration files, and run the command again with the
 --datadir parameter

 $ ./Vidalia.app/Contents/MacOS/Vidalia --datadir ~/.tordata

 Afterwards, I see that the following files were created in my home
 directory.

 .tordata/Vidalia/torrc
 .tordata/Vidalia/torrc.orig.1
 .tordata/Vidalia/vidalia.conf

 .tor/
 .tor/cached-certs
 .tor/cached-consensus
 .tor/cached-descriptors
 .tor/cached-descriptors.new
 .tor/lock
 .tor/state

 I suspect they are wanting to store the Tor files there too?  I confirmed
 that Tor DOES accept this "--datadir" parameter.

 ./TorBrowser_en-US.app/Contents/MacOS/tor --datadir ~/.tordata

 If I run Tor from the CLI as shown above, the following files are created
 in my home directory.

 .tordata/cached-certs
 .tordata/cached-consensus
 .tordata/cached-descriptors
 .tordata/cached-descriptors.new
 .tordata/lock
 .tordata/state

 However, if I include the parameter "--datadir ~/.tordata" (with or
 without quotes) when I specified the Tor binary location, Vidalia
 complains that it cannot find Tor.

 It seems logical that the --datadir parameter value should be passed to
 Tor when present.

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/2498#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs