if datadirectory isn't owned by this uid, tell the user he must

fix it before he can proceed.


svn:r1968
This commit is contained in:
Roger Dingledine 2004-06-13 11:28:32 +00:00
parent 73d3f3efa5
commit 43295ca61f

View 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) {