]>
Commit | Line | Data |
---|---|---|
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 | } |