From: Tomas Mraz Date: Tue, 23 Dec 2008 09:59:02 +0000 (+0100) Subject: Update man pages to reflect the reality. X-Git-Tag: cronie1.3~6 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=37ffa2cdc30a35b02b3fa6d98d2d891f3e66c254;p=cronie Update man pages to reflect the reality. --- diff --git a/man/cron.8 b/man/cron.8 index 731896b..c14f23f 100644 --- a/man/cron.8 +++ b/man/cron.8 @@ -137,14 +137,15 @@ log file. This is useful in scripts which rotate and age log files. Naturally this is not relevant if cron was built to use .IR syslog (3). .SH CAVEATS -In this version of -.BR cron -, without the \fB-p\fP option, -.I /etc/crontab -must not be writable by any user other than root, -no crontab files may be links, or linked to by any other file, -and no crontab files may be executable, or be writable by any -user other than their owner. +The +.BR crontab +files have to be regular files or symlinks to regular files, they must not be executable +or writable by anyone else than the owner. +This requirement can be overridden by using the \fB-p\fP option on the crond command line. +If inotify support is in use changes in the symlinked crontabs are not automatically +noticed by the cron daemon. The cron daemon must receive a SIGHUP to reload the crontabs. +This is a limitation of inotify API. + .SH "SEE ALSO" .IR crontab (1), .IR crontab (5), diff --git a/man/crontab.5 b/man/crontab.5 index 098b3b0..604ad73 100644 --- a/man/crontab.5 +++ b/man/crontab.5 @@ -272,14 +272,15 @@ the 5 initial time and date fields, and are prefixed by the '@' character: @hourly : Run once an hour, ie. "0 * * * *". .fi .SH CAVEATS -In this version of -.I cron -, -.I /etc/crontab -must not be writable by any user other than root. -No crontab files may be links, or linked to by any other file. -No crontab files may be executable, or be writable by any user -other than their owner. +The +.BR crontab +files have to be regular files or symlinks to regular files, they must not be executable +or writable by anyone else than the owner. +This requirement can be overridden by using the \fB-p\fP option on the crond command line. +If inotify support is in use changes in the symlinked crontabs are not automatically +noticed by the cron daemon. The cron daemon must receive a SIGHUP to reload the crontabs. +This is a limitation of inotify API. + .SH AUTHOR .nf Paul Vixie