[Koha-cvs] CVS: koha installer.pl,1.2.2.58,1.2.2.59

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


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

Modified Files:
      Tag: rel-1-2
	installer.pl 
Log Message:
Fix to permissions on koha.conf on initial install.


Index: installer.pl
===================================================================
RCS file: /cvsroot/koha/koha/installer.pl,v
retrieving revision 1.2.2.58
retrieving revision 1.2.2.59
diff -C2 -r1.2.2.58 -r1.2.2.59
*** installer.pl	22 Jul 2002 22:41:59 -0000	1.2.2.58
--- installer.pl	23 Jul 2002 06:05:26 -0000	1.2.2.59
***************
*** 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