diff options
author | Nick Mathewson <nickm@torproject.org> | 2015-12-10 20:03:37 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2015-12-10 20:03:37 -0500 |
commit | 4b0e9fff27acec544615810138e678869fcdd280 (patch) | |
tree | d2eb444dc962f9c9ad5da793a26a190e5600b8ac | |
parent | 01334589f1eae801b4ed8fb72fe3816ad5b0fe78 (diff) | |
download | tor-4b0e9fff27acec544615810138e678869fcdd280.tar.gz tor-4b0e9fff27acec544615810138e678869fcdd280.zip |
Fix wide line; log why chmod failed.
-rw-r--r-- | src/or/config.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/config.c b/src/or/config.c index c6d4de386d..7b42c9fdb3 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -1205,7 +1205,8 @@ options_act_reversible(const or_options_t *old_options, char **msg) if (options->DataDirectoryGroupReadable) { /* Only new dirs created get new opts, also enforce group read. */ if (chmod(options->DataDirectory, 0750)) { - log_warn(LD_FS,"Unable to make %s group-readable.", options->DataDirectory); + log_warn(LD_FS,"Unable to make %s group-readable: %s", + options->DataDirectory, strerror(errno)); } } #endif |