SOURCES: fcron-accept_readable_fcron.conf.patch (NEW) - relax perms; from fc
arekm
arekm at pld-linux.org
Thu Jun 26 00:10:35 CEST 2008
Author: arekm Date: Wed Jun 25 22:10:35 2008 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- relax perms; from fc
---- Files affected:
SOURCES:
fcron-accept_readable_fcron.conf.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/fcron-accept_readable_fcron.conf.patch
diff -u /dev/null SOURCES/fcron-accept_readable_fcron.conf.patch:1.1
--- /dev/null Thu Jun 26 00:10:35 2008
+++ SOURCES/fcron-accept_readable_fcron.conf.patch Thu Jun 26 00:10:29 2008
@@ -0,0 +1,15 @@
+--- 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;
+ }
================================================================
More information about the pld-cvs-commit
mailing list