[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] give a hint when people are running tor as the wrong user, ...



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

Modified Files:
	util.c 
Log Message:
give a hint when people are running tor as the wrong user, rather than
telling them to start chowning random directories.


Index: util.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/common/util.c,v
retrieving revision 1.234
retrieving revision 1.235
diff -u -d -r1.234 -r1.235
--- util.c	30 Nov 2005 02:47:59 -0000	1.234
+++ util.c	5 Dec 2005 01:07:58 -0000	1.235
@@ -912,7 +912,7 @@
   }
 #ifndef MS_WINDOWS
   if (st.st_uid != getuid()) {
-    log(LOG_WARN, LD_FS, "%s is not owned by this UID (%d). You must fix this to proceed.", dirname, (int)getuid());
+    log(LOG_WARN, LD_FS, "%s is not owned by this UID (%d). Perhaps you are running Tor as the wrong user?", dirname, (int)getuid());
     return -1;
   }
   if (st.st_mode & 0077) {