From f0e0bd1346d217ddb13fe3863377a466d0984054 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Wilfried=20G=C3=B6esgens?= Date: Tue, 31 Jan 2006 22:37:12 +0000 Subject: [PATCH] chkpwd needs to be owned rooot:root, flags 04755 --- citadel/ChangeLog | 3 +++ citadel/setup.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/citadel/ChangeLog b/citadel/ChangeLog index 5ada45449..9ab86dc85 100644 --- a/citadel/ChangeLog +++ b/citadel/ChangeLog @@ -1,5 +1,8 @@ $Id$ +Di Jan 31 23:32:38 CET 2006 dothebart + chkpwd needs to be owned rooot:root, flags 04755 + Tue Jan 31 10:39:42 EST 2006 ajc * client_getln() now strips only the trailing CR/LF instead of "all trailing nonprintables." The old behavior was mangling international character sets. diff --git a/citadel/setup.c b/citadel/setup.c index 593600fed..e77d6529e 100644 --- a/citadel/setup.c +++ b/citadel/setup.c @@ -1295,7 +1295,7 @@ NEW_INST: snprintf(aaa, sizeof aaa, "%schkpwd", ctdl_sbin_dir); - chown(aaa, config.c_ctdluid, gid); + chown(aaa,0,0); /* config.c_ctdluid, gid); chkpwd needs to be root owned*/ sleep(1); progress("Setting file permissions", 3, 4); chmod(aaa, 04755); -- 2.39.2