[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] if datadirectory isn"t owned by this uid, tell the user he ...
- To: or-cvs@freehaven.net
- Subject: [or-cvs] if datadirectory isn"t owned by this uid, tell the user he ...
- From: arma@seul.org (Roger Dingledine)
- Date: Sun, 13 Jun 2004 07:28:34 -0400 (EDT)
- Delivered-to: archiver@seul.org
- Delivered-to: or-cvs-outgoing@seul.org
- Delivered-to: or-cvs@seul.org
- Delivery-date: Sun, 13 Jun 2004 07:28:39 -0400
- Reply-to: or-dev@freehaven.net
- Sender: owner-or-cvs@freehaven.net
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) {