Skip to content
Snippets Groups Projects
Commit 43295ca6 authored by Roger Dingledine's avatar Roger Dingledine
Browse files

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

fix it before he can proceed.


svn:r1968
parent 73d3f3ef
No related branches found
No related tags found
No related merge requests found
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment