[Koha-cvs] CVS: koha installer.pl,1.2.2.56.2.3,1.2.2.56.2.4

Steve Tonnesen tonnesen at users.sourceforge.net
Tue Jul 23 08:05:00 CEST 2002


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

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


Index: installer.pl
===================================================================
RCS file: /cvsroot/koha/koha/installer.pl,v
retrieving revision 1.2.2.56.2.3
retrieving revision 1.2.2.56.2.4
diff -C2 -r1.2.2.56.2.3 -r1.2.2.56.2.4
*** installer.pl	22 Jul 2002 22:11:31 -0000	1.2.2.56.2.3
--- installer.pl	23 Jul 2002 06:04:58 -0000	1.2.2.56.2.4
***************
*** 376,385 ****
  
  #
- # 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
  #
--- 376,379 ----
***************
*** 760,763 ****
--- 754,764 ----
  ;
  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";
  
  





More information about the Koha-cvs mailing list