From 65ab7e078d978819a377bd6d05380a116911d6a8 Mon Sep 17 00:00:00 2001 From: tonnesen Date: Mon, 24 Jun 2002 16:11:36 +0000 Subject: [PATCH] changes ownership of directories to root.$httpduser recursively. I don't know if using system() is a problem, but how else can we do this recursively? In my installation, I ended up with the cgi-bin, htdocs, and modules directories being readable only by root. --- installer.pl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/installer.pl b/installer.pl index 5a8d082af4..09cfd8321e 100644 --- a/installer.pl +++ b/installer.pl @@ -414,6 +414,9 @@ system("cp -R opac-html/* $opacdir/htdocs/"); print "Copying opac-cgi files to $opacdir/cgi-bin...\n"; system("cp -R opac-cgi/* $opacdir/cgi-bin/"); +system("chown -R root.$httpduser $opacdir"); +system("chown -R root.$httpduser $kohadir"); + print qq| MYSQL CONFIGURATION -- 2.39.5