[or-cvs] if datadirectory isn"t owned by this uid, tell the user he ...

Roger Dingledine arma at seul.org
Sun Jun 13 11:28:34 UTC 2004


Update of /home/or/cvsroot/src/common
In directory moria.mit.edu:/home2/arma/work/onion/cvs/src/common

Modified Files:
	util.c 
Log Message:
if datadirectory isn't owned by this uid, tell the user he must
fix it before he can proceed.


Index: util.c
===================================================================
RCS file: /home/or/cvsroot/src/common/util.c,v
retrieving revision 1.106
retrieving revision 1.107
diff -u -d -r1.106 -r1.107
--- util.c	5 Jun 2004 01:56:54 -0000	1.106
+++ util.c	13 Jun 2004 11:28:32 -0000	1.107
@@ -1281,7 +1281,7 @@
   }
 #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) {



More information about the tor-commits mailing list