]> granicus.if.org Git - cronie/commitdiff
Update man pages to reflect the reality.
authorTomas Mraz <t8m@centrum.cz>
Tue, 23 Dec 2008 09:59:02 +0000 (10:59 +0100)
committerTomas Mraz <t8m@centrum.cz>
Tue, 23 Dec 2008 09:59:02 +0000 (10:59 +0100)
man/cron.8
man/crontab.5

index 731896b0c33c753d2f183c03a88a7cf3c198b97a..c14f23f157f2b8bc94a4486994231701d8965ff6 100644 (file)
@@ -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),
index 098b3b0db5729c586a39114e7c044af3ac2303fc..604ad73fbb4f0c41ec9dd2b826d7fa3aebcdfe0c 100644 (file)
@@ -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 <vixie@isc.org>