Browse Source

21151: document datadir default decently.

Nick Mathewson 7 years ago
parent
commit
411736a132
2 changed files with 6 additions and 1 deletions
  1. 3 0
      changes/data_dir_default_doc
  2. 3 1
      doc/tor.1.txt

+ 3 - 0
changes/data_dir_default_doc

@@ -0,0 +1,3 @@
+  o Documentation:
+    - Correct the documentation about the default DataDirectory value.
+      Closes ticket 21151.

+ 3 - 1
doc/tor.1.txt

@@ -394,7 +394,9 @@ GENERAL OPTIONS
 
 [[DataDirectory]] **DataDirectory** __DIR__::
     Store working data in DIR. Can not be changed while tor is running.
-    (Default: @LOCALSTATEDIR@/lib/tor)
+    (Default: ~/.tor if your home directory is not /; otherwise,
+    @LOCALSTATEDIR@/lib/tor.  On Windows, the default is
+    your ApplicationData folder.)
 
 [[DataDirectoryGroupReadable]] **DataDirectoryGroupReadable** **0**|**1**::
     If this option is set to 0, don't allow the filesystem group to read the