Browse Source

Some documentation fixes for #12864.

George Kadianakis 9 years ago
parent
commit
112c984f92
2 changed files with 4 additions and 1 deletions
  1. 1 1
      doc/tor.1.txt
  2. 3 0
      src/or/config.c

+ 1 - 1
doc/tor.1.txt

@@ -226,7 +226,7 @@ GENERAL OPTIONS
 
 [[ExtORPortCookieAuthFileGroupReadable]] **ExtORPortCookieAuthFileGroupReadable** **0**|**1**::
     If this option is set to 0, don't allow the filesystem group to read the
-    Extende OR Port cookie file. If the option is set to 1, make the cookie
+    Extended OR Port cookie file. If the option is set to 1, make the cookie
     file readable by the default GID. [Making the file readable by other
     groups is not yet implemented; let us know if you need this for some
     reason.] (Default: 0)

+ 3 - 0
src/or/config.c

@@ -6825,6 +6825,9 @@ config_maybe_load_geoip_files_(const or_options_t *options,
  *  in <b>cookie_out</b>.
  *  Then write it down to <b>fname</b> and prepend it with <b>header</b>.
  *
+ *  If <b>group_readable</b> is set, set <b>fname</b> to be readable
+ *  by the default GID.
+ *
  *  If the whole procedure was successful, set
  *  <b>cookie_is_set_out</b> to True. */
 int