[LON-CAPA-cvs] cvs: doc /loncapafiles sanitycheck.piml

harris41 lon-capa-cvs@mail.lon-capa.org
Sun, 22 Sep 2002 08:32:46 -0000


harris41		Sun Sep 22 04:32:46 2002 EDT

  Modified files:              
    /doc/loncapafiles	sanitycheck.piml 
  Log:
  minor typo fix
  
  
Index: doc/loncapafiles/sanitycheck.piml
diff -u doc/loncapafiles/sanitycheck.piml:1.6 doc/loncapafiles/sanitycheck.piml:1.7
--- doc/loncapafiles/sanitycheck.piml:1.6	Sun Sep 22 04:23:26 2002
+++ doc/loncapafiles/sanitycheck.piml	Sun Sep 22 04:32:46 2002
@@ -3,7 +3,7 @@
 <!-- sanitycheck.piml -->
 <!-- Scott Harrison -->
 
-<!-- $Id: sanitycheck.piml,v 1.6 2002/09/22 08:23:26 harris41 Exp $ -->
+<!-- $Id: sanitycheck.piml,v 1.7 2002/09/22 08:32:46 harris41 Exp $ -->
 
 <!--
 
@@ -55,11 +55,11 @@
 	      'chown www:www /var/lib/mysql/mysql.sock'."\n".
 	      'chmod a-rwx,u+rwx /var/lib/mysql/mysql.sock'."\n");
       }
-    else # Check permissions on the file to make sure it is private to apache2.
+    else # Check permissions on the file to make sure it is private to www.
       {
 	$smode =~ /^.(.)..$/;
 	my $wflag = $1;
-	if ($wflag != 7)
+	if ($wflag != 7) # Can www use this socket?  (Hope so!)
 	  {
 	    print('**** ERROR **** '.
 	      '<TARGET /> should be user "rwx" (by'.
@@ -69,7 +69,7 @@
 	  }
 	$smode=~/^..(..)$/;
 	$wflag=$1;
-	if ($wflag ne "00")
+	if ($wflag ne "00") # Can others use this socket?  (Hope not!)
 	  {
 	    print('**** ERROR **** '.
 	      '<TARGET /> should not be group or everybody accessible'.