[Koha-cvs] CVS: koha installer.pl,1.2.2.21,1.2.2.22

Steve Tonnesen tonnesen at users.sourceforge.net
Mon Jun 24 18:11:38 CEST 2002


Update of /cvsroot/koha/koha
In directory usw-pr-cvs1:/tmp/cvs-serv17381

Modified Files:
      Tag: rel-1-2
	installer.pl 
Log Message:
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.


Index: installer.pl
===================================================================
RCS file: /cvsroot/koha/koha/installer.pl,v
retrieving revision 1.2.2.21
retrieving revision 1.2.2.22
diff -C2 -r1.2.2.21 -r1.2.2.22
*** installer.pl	24 Jun 2002 15:53:20 -0000	1.2.2.21
--- installer.pl	24 Jun 2002 16:11:36 -0000	1.2.2.22
***************
*** 415,418 ****
--- 415,421 ----
  system("cp -R opac-cgi/* $opacdir/cgi-bin/");
  
+ system("chown -R root.$httpduser $opacdir");
+ system("chown -R root.$httpduser $kohadir");
+ 
  print qq|
  





More information about the Koha-cvs mailing list