INN commit: trunk/scripts (inncheck.in)

INN Commit Russ_Allbery at isc.org
Sat Feb 21 10:57:25 UTC 2009


    Date: Saturday, February 21, 2009 @ 02:57:24
  Author: iulius
Revision: 8338

Fix a bug in the check for the group of the innbind program (inncheck
was checking the group with the news user instead).
Also add a comment for unknown files in the rnews directory (they
may be backups ending with ".OLD").

Modified:
  trunk/scripts/inncheck.in

-------------+
 inncheck.in |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: inncheck.in
===================================================================
--- inncheck.in	2009-02-20 21:04:18 UTC (rev 8337)
+++ inncheck.in	2009-02-21 10:57:24 UTC (rev 8338)
@@ -728,7 +728,7 @@
 	}
         foreach ( @in ) {
             if (not exists $dummy{$_}) {
-                print "$pfx$dir:0: ERROR: illegal file `$_' in directory\n";
+                print "$pfx$dir:0: ERROR: illegal file `$_' in directory (it may be a valid backup if it ends with '.OLD')\n";
                 $i = 0;
             }
         }
@@ -779,7 +779,7 @@
 	&checkperm($paths{$_}, 0755);
     }
     &checkperm($paths{'innddir'}, 0750);
-    &checkperm($paths{'innbind'}, 04550, 'root');
+    &checkperm($paths{'innbind'}, 04550, 'root', $INN::Config::runasgroup);
     foreach ( keys %prog_modes ) {
 	&checkperm($paths{$_}, $prog_modes{$_});
     }




More information about the inn-committers mailing list