[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/master] Fix wide line; log why chmod failed.
commit 4b0e9fff27acec544615810138e678869fcdd280
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date: Thu Dec 10 20:03:37 2015 -0500
Fix wide line; log why chmod failed.
---
src/or/config.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/or/config.c b/src/or/config.c
index c6d4de3..7b42c9f 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
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits