[LON-CAPA-cvs] cvs: loncom / lcinstallfile

foxr foxr@source.lon-capa.org
Tue, 12 Oct 2010 10:14:25 -0000


foxr		Tue Oct 12 10:14:25 2010 EDT

  Modified files:              
    /loncom	lcinstallfile 
  Log:
  Make this usable in fc13 which won't allow re-elevation of euid
  once euid is set to the actual uid.
  
  
Index: loncom/lcinstallfile
diff -u loncom/lcinstallfile:1.4 loncom/lcinstallfile:1.5
--- loncom/lcinstallfile:1.4	Wed May 13 15:04:03 2009
+++ loncom/lcinstallfile	Tue Oct 12 10:14:25 2010
@@ -2,7 +2,7 @@
 #
 # Copyright Michigan State University Board of Trustees
 #
-# $Id: lcinstallfile,v 1.4 2009/05/13 15:04:03 raeburn Exp $
+# $Id: lcinstallfile,v 1.5 2010/10/12 10:14:25 foxr Exp $
 #
 # This file is part of the LearningOnline Network with CAPA (LON-CAPA).
 #
@@ -69,8 +69,8 @@
 print ("In lcinstallfile\n") unless $noprint;
 
 my $wwwid=getpwnam('www');
-&disable_root_capability;
-if ($wwwid!=$>) {
+#&disable_root_capability;
+if ($wwwid!=$<) {
     print("User ID mismatch.  This program must be run as user 'www'\n")
 	unless $noprint;
     exit 1;