cronie/0001-Update-manual-for-symlink.patch

70 lines
2.4 KiB
Diff
Raw Normal View History

From 07ed1e70e6bf64c815baccde938702084036db78 Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Marcela=20Ma=C5=A1l=C3=A1=C5=88ov=C3=A1?= <mmaslano@redhat.com>
Date: Mon, 22 Dec 2008 16:22:14 +0100
Subject: [PATCH] Update manual for symlink.
---
man/cron.8 | 17 +++++++++--------
man/crontab.5 | 17 +++++++++--------
2 files changed, 18 insertions(+), 16 deletions(-)
diff --git a/man/cron.8 b/man/cron.8
index 731896b..a80101a 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..208daca 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 <vixie@isc.org>
--
1.6.0.6