From 7ce564ae2ed1366a4de23ceeae6e58b8e5294290 Mon Sep 17 00:00:00 2001 From: tonnesen Date: Tue, 23 Jul 2002 06:04:58 +0000 Subject: [PATCH] Permissions weren't getting set on koha.conf. I relocated the code that creates the koha.conf file to near the end of koha.conf, but didn't relocate the permissions setting part. --- installer.pl | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/installer.pl b/installer.pl index d8d66b931c..1c1a858099 100644 --- a/installer.pl +++ b/installer.pl @@ -374,12 +374,6 @@ files using the "User" directive. } -# -# Set ownership of the koha.conf file for security -# -chown((getpwnam($httpduser)) [2,3], "$etcdir/koha.conf") or warn "can't chown koha.conf: $!"; -chmod 0440, "$etcdir/koha.conf"; - # #SETUP opac # @@ -761,6 +755,13 @@ EOP close(SITES); +# +# Set ownership of the koha.conf file for security +# +chown((getpwnam($httpduser)) [2,3], "$etcdir/koha.conf") or warn "can't chown koha.conf: $!"; +chmod 0440, "$etcdir/koha.conf"; + + print qq| MYSQL CONFIGURATION -- 2.39.5