Browse Source

if datadirectory isn't owned by this uid, tell the user he must
fix it before he can proceed.


svn:r1968

Roger Dingledine 21 years ago
parent
commit
43295ca61f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/common/util.c

+ 1 - 1
src/common/util.c

@@ -1281,7 +1281,7 @@ int check_private_dir(const char *dirname, int create)
   }
   }
 #ifndef MS_WINDOWS
 #ifndef MS_WINDOWS
   if (st.st_uid != getuid()) {
   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;
     return -1;
   }
   }
   if (st.st_mode & 0077) {
   if (st.st_mode & 0077) {