[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/master] fix two typos
commit ae18c0812e917ae4d3352ef7e537c7ab8a396f36
Author: meejah <meejah@xxxxxxxxx>
Date: Sat Aug 30 15:14:17 2014 -0600
fix two typos
---
doc/tor.1.txt | 2 +-
src/test/test_checkdir.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/doc/tor.1.txt b/doc/tor.1.txt
index 272eba3..bf0f5c9 100644
--- a/doc/tor.1.txt
+++ b/doc/tor.1.txt
@@ -2078,7 +2078,7 @@ The following options are used to configure a hidden service.
service descriptors to the directory servers. This information is also
uploaded whenever it changes. (Default: 1 hour)
-[[HiddenServiceDirGroupReadable]] **HiddenServiceGroupReadable** **0**|**1**::
+[[HiddenServiceDirGroupReadable]] **HiddenServiceDirGroupReadable** **0**|**1**::
If this option is set to 1, allow the filesystem group to read the
hidden service directory and hostname file. If the option is set to 0,
only owner is able to read the hidden service directory. (Default: 0)
diff --git a/src/test/test_checkdir.c b/src/test/test_checkdir.c
index 76fe131..59c1783 100644
--- a/src/test/test_checkdir.c
+++ b/src/test/test_checkdir.c
@@ -23,7 +23,7 @@ test_checkdir_perms(void *testdata)
/* setup data directory before tests. */
tor_free(options->DataDirectory);
options->DataDirectory = tor_strdup(get_fname(subdir));
- tt_int_op(mkdir(options->DataDirectory, STAT_RWXU), ==, 0);
+ tt_int_op(mkdir(options->DataDirectory, 0750), ==, 0);
/* test: create new dir, no flags. */
testdir = get_datadir_fname("checkdir_new_none");
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits