Tor Bug Tracker & Wiki: Ticket #127: Starting tor at boot, creates /.tor Directory <p> Version is (that doesn't appear on the Reported Version drop-down). </p> <p> Linux fubar 2.4.29 <a class="closed ticket" href="" title="#21: defect: generate-surb closes stdout, breaks 'mixminion shell' (closed: Fixed)">#21</a> Thu Jan 20 17:11:39 PST 2005 i686 unknown unknown GNU/Linux </p> <p> I've established a user tor and group tor (and user privoxy and group privoxy) and am starting both in /etc/rc.d. tor is starting as a daemon, with "tor" specified in /usr/local/etc/tor/torrc for both user and group as is RunAsDaemon. </p> <p> The problem is that starting like this wants /.tor -- I've created it, owned by tor, mode 700, but I wonder at the wisdom of doing so, and I can't find any setting that will prevent this. Is this a (potential) problem or am I just being too picky? </p> <p> [Automatically added by flyspray2trac: Operating System: Other Linux] </p> en-us Tor Bug Tracker & Wiki /images/tor-logo.png Trac 1.2 arma Wed, 27 Apr 2005 15:17:19 GMT <p> The DataDirectory config option will define it to be somewhere else. </p> <p> Is that what you had in mind? </p> <p> How can we make the documentation / man page / torrc / whatever-you-looked-at make this more clear? </p> Ticket tronayne Wed, 27 Apr 2005 16:27:20 GMT <p> Well, duh! </p> <p> Yeah, reading a little further down in the torrc file (and figuring out what DataDirectory means) and no more .tor directories. </p> <p> Might be a "good thing" to put a line in the "Configuring a client" section... or, on third thought, maybe not. If most folk start tor from a command line then you'd expect the ~.tor directory. I tend to start daemons for things like this and I didn't quite get what the DataDirectory option in torrc does (do now, though) even though I did print the man page and actually did read it. </p> <p> Here's a thought: how about a sentence in the man page that says something about ...otherwise a .tor directory will be created in a users home directory...? </p> <p> Just a thought. </p> <p> Thank you for responding so quickly. </p> Ticket nickm Tue, 03 May 2005 00:22:22 GMT <p> Probably it would be best never to try ~/.tor when $HOME is /. I'll add a special case for that. </p> Ticket nickm Tue, 03 May 2005 00:37:20 GMT <p> flyspray2trac: bug closed. Warning/recovery code implemented in CVS. </p> <p> Now, if DataDirectory is ~/.tor, and that expands to /.tor, we warn, and use $LOCALSTATEDIR/tor instead. </p> Ticket nickm Mon, 01 Oct 2012 18:16:42 GMT component changed <ul> <li><strong>component</strong> changed from <em>Tor Client</em> to <em>Tor</em> </li> </ul> Ticket