diff options
author | Roger Dingledine <arma@torproject.org> | 2005-12-05 01:07:58 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2005-12-05 01:07:58 +0000 |
commit | 8b0f1f029c6b0664d2b6df4d84b68ab72f13cf24 (patch) | |
tree | 36a77ec65ae9082d672033c716f7b38d5d20d6cb | |
parent | 26b49dbc09249b30dd734c28be7e4d0a1eb7ed58 (diff) | |
download | tor-8b0f1f029c6b0664d2b6df4d84b68ab72f13cf24.tar.gz tor-8b0f1f029c6b0664d2b6df4d84b68ab72f13cf24.zip |
give a hint when people are running tor as the wrong user, rather than
telling them to start chowning random directories.
svn:r5500
-rw-r--r-- | src/common/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/util.c b/src/common/util.c index 9d68d2ffc0..a2a20c2ecd 100644 --- a/src/common/util.c +++ b/src/common/util.c @@ -912,7 +912,7 @@ check_private_dir(const char *dirname, cpd_check_t check) } #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) { |