From: Wilfried Göesgens Date: Wed, 3 Jan 2007 16:06:44 +0000 (+0000) Subject: * say what we got and what we want X-Git-Tag: v7.86~3708 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=5f89362ae2889304de960b05d1672363e0d733d8 * say what we got and what we want --- diff --git a/citadel/config.c b/citadel/config.c index b4c38b569..22073dd7b 100644 --- a/citadel/config.c +++ b/citadel/config.c @@ -55,13 +55,13 @@ void get_config(void) { } #ifndef __CYGWIN__ if (st.st_uid != CTDLUID) { - fprintf(stderr, "%s must be owned by uid=%d\n", file_citadel_config, CTDLUID); + fprintf(stderr, "%s must be owned by uid=%d but %d owns it!\n", file_citadel_config, CTDLUID, st.st_uid); exit(CTDLEXIT_CONFIG); } int desired_mode = (S_IFREG | S_IRUSR | S_IWUSR) ; if (st.st_mode != desired_mode) { - fprintf(stderr, "%s must be set to permissions mode %03o\n", - file_citadel_config, desired_mode); + fprintf(stderr, "%s must be set to permissions mode %03o but they are %03o\n", + file_citadel_config, desired_mode, st.st_mode); exit(CTDLEXIT_CONFIG); } #endif