]> git.pld-linux.org Git - packages/fcron.git/blob - fcron-accept_readable_fcron.conf.patch
- relax perms; from fc
[packages/fcron.git] / fcron-accept_readable_fcron.conf.patch
1 --- subs.c.orig 2007-01-15 22:41:06.000000000 +0100
2 +++ subs.c      2007-02-07 10:45:31.000000000 +0100
3 @@ -222,10 +222,9 @@
4      /* check if the file is secure : owner:root, group:fcron,
5       * writable only by owner */
6      if ( fstat(fileno(f), &st) != 0 
7 -        || st.st_uid != rootuid || st.st_gid != fcrongid
8          || st.st_mode & S_IWGRP || st.st_mode & S_IWOTH ) {
9 -       error("Conf file (%s) must be owned by root:" GROUPNAME 
10 -             " and (no more than) 644 : ignored", fcronconf, GROUPNAME);
11 +       error("Conf file (%s) must not have more perms than 644 : ignored", 
12 +               fcronconf);
13         fclose(f);
14         return;
15      }
This page took 0.082087 seconds and 4 git commands to generate.