From 8e6342ed88ce5446ac720529ae97a767b9ed7877 Mon Sep 17 00:00:00 2001 From: tonnesen Date: Tue, 23 Jul 2002 06:06:42 +0000 Subject: [PATCH] Fix permissions on /etc/koha.conf on initial install. --- installer.pl | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/installer.pl b/installer.pl index d8d66b931c..e3ccd3221e 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 # @@ -760,6 +754,12 @@ 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| -- 2.39.5