Sophie

Sophie

distrib > Mandriva > 2010.1 > x86_64 > media > contrib-release-src > by-pkgid > 9b23b36a3d3cfe3d9ec49fdbe41160ef > files > 2

fcron-3.0.4-6mdv2010.0.src.rpm

--- subs.c.orig	2007-01-15 22:41:06.000000000 +0100
+++ subs.c	2007-02-07 10:45:31.000000000 +0100
@@ -222,10 +222,9 @@
     /* check if the file is secure : owner:root, group:fcron,
      * writable only by owner */
     if ( fstat(fileno(f), &st) != 0 
-	 || st.st_uid != rootuid || st.st_gid != fcrongid
 	 || st.st_mode & S_IWGRP || st.st_mode & S_IWOTH ) {
-	error("Conf file (%s) must be owned by root:" GROUPNAME 
-	      " and (no more than) 644 : ignored", fcronconf, GROUPNAME);
+	error("Conf file (%s) must not have more perms than 644 : ignored", 
+		fcronconf);
 	fclose(f);
 	return;
     }