[Koha-cvs] CVS: koha installer.pl,1.6,1.7

Steve Tonnesen tonnesen at users.sourceforge.net
Tue Jul 23 08:06:44 CEST 2002


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

Modified Files:
	installer.pl 
Log Message:
Fix permissions on /etc/koha.conf on initial install.


Index: installer.pl
===================================================================
RCS file: /cvsroot/koha/koha/installer.pl,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** installer.pl	22 Jul 2002 22:33:03 -0000	1.6
--- installer.pl	23 Jul 2002 06:06:42 -0000	1.7
***************
*** 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,763 ----
  ;
  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