dovecot-1.2: Permission error logging: If UNIX permissions appea...

dovecot at dovecot.org dovecot at dovecot.org
Fri Jan 16 19:21:26 EET 2009


details:   http://hg.dovecot.org/dovecot-1.2/rev/1bfe762cb9ff
changeset: 8640:1bfe762cb9ff
user:      Timo Sirainen <tss at iki.fi>
date:      Fri Jan 16 12:21:21 2009 -0500
description:
Permission error logging: If UNIX permissions appear to be ok, suggest ACL problem.

diffstat:

1 file changed, 2 insertions(+)
src/lib-storage/mail-error.c |    2 ++

diffs (12 lines):

diff -r 685a5e3565b0 -r 1bfe762cb9ff src/lib-storage/mail-error.c
--- a/src/lib-storage/mail-error.c	Thu Jan 15 21:36:26 2009 -0500
+++ b/src/lib-storage/mail-error.c	Fri Jan 16 12:21:21 2009 -0500
@@ -65,6 +65,8 @@ const char *mail_error_eacces_msg(const 
 		else if (prev_path == path &&
 			 access(path, R_OK) < 0 && errno == EACCES)
 			str_printfa(errmsg, " missing +r perm: %s", path);
+		else
+			str_printf(errmsg, " UNIX perms seem ok, ACL problem?");
 	}
 	str_append_c(errmsg, ')');
 	return str_c(errmsg);


More information about the dovecot-cvs mailing list