]> git.pld-linux.org Git - packages/fcron.git/commitdiff
- relax perms; from fc
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 25 Jun 2008 22:10:29 +0000 (22:10 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    fcron-accept_readable_fcron.conf.patch -> 1.1

fcron-accept_readable_fcron.conf.patch [new file with mode: 0644]

diff --git a/fcron-accept_readable_fcron.conf.patch b/fcron-accept_readable_fcron.conf.patch
new file mode 100644 (file)
index 0000000..4f0fd5a
--- /dev/null
@@ -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;
+     }
This page took 0.066328 seconds and 4 git commands to generate.