aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2004-06-13 11:28:32 +0000
committerRoger Dingledine <arma@torproject.org>2004-06-13 11:28:32 +0000
commit43295ca61f339f51687810193723ce2be7938208 (patch)
tree7b0131d9b8e683ef4f185d1bd2d71ed44a7a4cdc /src
parent73d3f3efa54216964cedf0a26012fac5d4cbdec4 (diff)
downloadtor-43295ca61f339f51687810193723ce2be7938208.tar
tor-43295ca61f339f51687810193723ce2be7938208.tar.gz
if datadirectory isn't owned by this uid, tell the user he must
fix it before he can proceed. svn:r1968
Diffstat (limited to 'src')
-rw-r--r--src/common/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/util.c b/src/common/util.c
index ce9062fd9..fb8c015ed 100644
--- a/src/common/util.c
+++ b/src/common/util.c
@@ -1281,7 +1281,7 @@ int check_private_dir(const char *dirname, int create)
}
#ifndef MS_WINDOWS
if (st.st_uid != getuid()) {
- log(LOG_WARN, "%s is not owned by this UID (%d)", dirname, (int)getuid());
+ log(LOG_WARN, "%s is not owned by this UID (%d). You must fix this to proceed.", dirname, (int)getuid());
return -1;
}
if (st.st_mode & 0077) {