Bug 968163 - [rfe] support xdg base dir spec
Summary: [rfe] support xdg base dir spec
Alias: None
Product: Fedora
Classification: Fedora
Component: tor
Version: rawhide
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Nobody's working on this, feel free to take it
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2013-05-29 07:05 UTC by Rahul Sundaram
Modified: 2020-11-05 09:44 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2014-10-22 19:18:39 UTC
Type: Bug

Attachments (Terms of Use)

Description Rahul Sundaram 2013-05-29 07:05:41 UTC
Description of problem:

I noticed that tor stores configuration, cache etc in ~/.tor and doesn't follow the xdg base dir spec that is a commonly adopted standard


As a side note, either take over the orphaned EPEL packages and fix the open security holes or close the bugs reported against the package as wontfix.  they still show up when querying via 


Comment 1 Paul Wouters 2013-05-31 03:17:42 UTC
Thanks, I closed the massive number of tor CVE bugs that the previous maintainer never bothered to close apparently.

I have not yet looked at the issue in this bug report yet.

Comment 2 Jamie Nguyen 2013-08-26 18:32:03 UTC
Hi Rahul, I'm not sure what you mean about ~/.tor? I don't see it on my system.

Comment 3 Jamie Nguyen 2013-08-26 18:32:49 UTC
The tor service stores it's cache in /var/lib/tor by default.

Comment 4 Christian Stadelmann 2013-12-08 02:44:05 UTC
According to the torrc file:

## The directory for keeping all the keys/etc. By default, we store
## things in $HOME/.tor on Unix, and in Application Data\tor on Windows.

Comment 5 Rahul Sundaram 2013-12-08 03:13:45 UTC
Yes.  This is indeed what I see on my system

Comment 6 Jamie Nguyen 2014-03-26 18:16:40 UTC
Thanks for your bug report. I have opened a bug report in the upstream Trac instance:

Comment 7 Rahul Sundaram 2014-10-22 19:18:39 UTC
I am following up upstream.

Note You need to log in before you can comment on or make changes to this bug.