]> git.pld-linux.org Git - packages/fcron.git/blame - fcron-accept_readable_fcron.conf.patch
Up to 3.3.1
[packages/fcron.git] / fcron-accept_readable_fcron.conf.patch
CommitLineData
7e164612
JR
1--- fcronconf.c.orig 2007-01-15 22:41:06.000000000 +0100
2+++ fcronconf.c 2007-02-07 10:45:31.000000000 +0100
5bf9efac
AM
3@@ -222,10 +222,9 @@
4 /* check if the file is secure : owner:root, group:fcron,
5 * writable only by owner */
7e164612
JR
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 xfclose_check(&f, fcronconf);
14 return;
5bf9efac 15 }
This page took 0.162193 seconds and 4 git commands to generate.