Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37041409
en ru br
ALT Linux repos
S:4.1.20060426-alt10.3
5.0: 4.1.20060426-alt6
4.1: 4.1.20060426-alt4
4.0: 4.1.20060426-alt4
3.0: 4.1.20040916-alt2

Group :: System/Servers
RPM: vixie-cron

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: vixie-cron-4.1.20060426-owl-st_nlink.patch
Download


--- vixie-cron-4.1.20060426/usr.sbin/cron/database.c.orig
+++ vixie-cron-4.1.20060426/usr.sbin/cron/database.c
@@ -230,7 +230,7 @@ process_crontab(const char *uname, const
 		log_it(fname, getpid(), "BAD FILE MODE", tabname);
 		goto next_crontab;
 	}
-	if (lstatbuf.st_nlink != 1) {
+	if (pw && lstatbuf.st_nlink != 1) {
 		log_it(fname, getpid(), "BAD LINK COUNT", tabname);
 		goto next_crontab;
 	}
@@ -260,7 +260,7 @@ process_crontab(const char *uname, const
 		log_it(fname, getpid(), "WRONG FILE OWNER", tabname);
 		goto next_crontab;
 	}
-	if (statbuf->st_nlink != 1) {
+	if (pw && statbuf->st_nlink != 1) {
 		log_it(fname, getpid(), "BAD LINK COUNT", tabname);
 		goto next_crontab;
 	}
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin