Diff for /doc/loncapafiles/sanitycheck.piml between versions 1.6 and 1.7

version 1.6, 2002/09/22 08:23:26 version 1.7, 2002/09/22 08:32:46
Line 55  else # It exists, so look at the file me Line 55  else # It exists, so look at the file me
       'chown www:www /var/lib/mysql/mysql.sock'."\n".        'chown www:www /var/lib/mysql/mysql.sock'."\n".
       'chmod a-rwx,u+rwx /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 =~ /^.(.)..$/;   $smode =~ /^.(.)..$/;
  my $wflag = $1;   my $wflag = $1;
  if ($wflag != 7)   if ($wflag != 7) # Can www use this socket?  (Hope so!)
   {    {
     print('**** ERROR **** '.      print('**** ERROR **** '.
       '<TARGET /> should be user "rwx" (by'.        '<TARGET /> should be user "rwx" (by'.
Line 69  else # It exists, so look at the file me Line 69  else # It exists, so look at the file me
   }    }
  $smode=~/^..(..)$/;   $smode=~/^..(..)$/;
  $wflag=$1;   $wflag=$1;
  if ($wflag ne "00")   if ($wflag ne "00") # Can others use this socket?  (Hope not!)
   {    {
     print('**** ERROR **** '.      print('**** ERROR **** '.
       '<TARGET /> should not be group or everybody accessible'.        '<TARGET /> should not be group or everybody accessible'.

Removed from v.1.6  
changed lines
  Added in v.1.7


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>