From 5f89362ae2889304de960b05d1672363e0d733d8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Wilfried=20G=C3=B6esgens?= Date: Wed, 3 Jan 2007 16:06:44 +0000 Subject: [PATCH] * say what we got and what we want --- citadel/config.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 2.30.2