From 43295ca61f339f51687810193723ce2be7938208 Mon Sep 17 00:00:00 2001
From: Roger Dingledine <arma@torproject.org>
Date: Sun, 13 Jun 2004 11:28:32 +0000
Subject: [PATCH] if datadirectory isn't owned by this uid, tell the user he
 must fix it before he can proceed.

svn:r1968
---
 src/common/util.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/common/util.c b/src/common/util.c
index ce9062fd92..fb8c015edc 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) {
-- 
GitLab