INN commit: trunk/scripts (inncheck.in)

INN Commit Russ_Allbery at isc.org
Wed Feb 25 20:36:13 UTC 2009


    Date: Wednesday, February 25, 2009 @ 12:36:13
  Author: iulius
Revision: 8347

rnews can be owned by the group uucp if --enable-uucp-rnews is
given to configure.

Modified:
  trunk/scripts/inncheck.in

-------------+
 inncheck.in |    9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

Modified: inncheck.in
===================================================================
--- inncheck.in	2009-02-25 20:15:18 UTC (rev 8346)
+++ inncheck.in	2009-02-25 20:36:13 UTC (rev 8347)
@@ -696,9 +696,12 @@
 		if $fix;
 	}
 	if ( $group ne $g ) {
-	    print "$pfx$f:0: in group $group, should be $g\n";
-	    print "chgrp $g $f\n"
-		if $fix;
+            # rnews may be setuid news and owned by group uucp.
+            if ($f !~ /\/rnews$/ or $group ne 'uucp') {
+	        print "$pfx$f:0: in group $group, should be $g\n";
+	        print "chgrp $g $f\n"
+		    if $fix;
+            }
 	}
 	if ( (($mode & @$m[0]) ne @$m[0]) or (($mode | @$m[1]) ne @$m[1]) ) {
 	    printf "$pfx$f:0: mode %o, should be between %o and %o\n", $mode, @$m[0], @$m[1];




More information about the inn-committers mailing list