]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
if datadirectory isn't owned by this uid, tell the user he must
authorRoger Dingledine <arma@torproject.org>
Sun, 13 Jun 2004 11:28:32 +0000 (11:28 +0000)
committerRoger Dingledine <arma@torproject.org>
Sun, 13 Jun 2004 11:28:32 +0000 (11:28 +0000)
fix it before he can proceed.

svn:r1968

src/common/util.c

index ce9062fd924762f790149dc91bc7561ce2e1e3df..fb8c015edcaeabf0122aeb0adb4fb7ab677658e5 100644 (file)
@@ -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) {