mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 13:53:31 +01:00
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:
parent
73d3f3efa5
commit
43295ca61f
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user