From 35d533a7f0ec60ad30192588e75ca410e1b431e6 Mon Sep 17 00:00:00 2001 From: tipaul Date: Wed, 15 Dec 2004 14:39:21 +0000 Subject: [PATCH] fix for http://bugs.koha.org/cgi-bin/bugzilla/show_bug.cgi?id=874 Installer Should ask for apache group No need to ask, just use a getgrnam() ;-) --- misc/Install.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/misc/Install.pm b/misc/Install.pm index ca10bfea66..b426bdc320 100644 --- a/misc/Install.pm +++ b/misc/Install.pm @@ -1644,7 +1644,8 @@ sub installfiles { #MJR: is this necessary? if ($> == 0) { - system("chown -R $httpduser:$httpduser $opacdir $intranetdir"); + my $httpdgrp = getgrnam($httpduser); + system("chown -R $httpduser:$httpdgrp $opacdir $intranetdir"); } system("chmod -R a+rx $opacdir $intranetdir"); -- 2.39.5