From: Marcela Mašláňová Date: Fri, 25 Sep 2009 06:32:34 +0000 (+0200) Subject: Symlinks were not followed. This is a limitation of inotify API. X-Git-Tag: cronie1.4.2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c977ce8ab27a135f9071a2a289bdacee843a82ab;p=cronie Symlinks were not followed. This is a limitation of inotify API. rhbz#477100 --- diff --git a/src/database.c b/src/database.c index a517d07..54a6b9a 100644 --- a/src/database.c +++ b/src/database.c @@ -51,7 +51,7 @@ check_open(const char *tabname, const char *fname, const char *uname, pid_t pid = getpid(); if ((crontab_fd = - open(tabname, O_RDONLY | O_NONBLOCK | O_NOFOLLOW, 0)) == -1) { + open(tabname, O_RDONLY | O_NONBLOCK, 0)) == -1) { log_it(uname, pid, "CAN'T OPEN", tabname, errno); return (-1); }