summaryrefslogtreecommitdiff
path: root/usr.sbin/cron/crontab.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/cron/crontab.c')
-rw-r--r--usr.sbin/cron/crontab.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/cron/crontab.c b/usr.sbin/cron/crontab.c
index a6af2f49445..ae7d042a60f 100644
--- a/usr.sbin/cron/crontab.c
+++ b/usr.sbin/cron/crontab.c
@@ -16,7 +16,7 @@
*/
#if !defined(lint) && !defined(LINT)
-static char rcsid[] = "$Id: crontab.c,v 1.3 1996/09/15 10:02:34 deraadt Exp $";
+static char rcsid[] = "$Id: crontab.c,v 1.4 1996/09/16 17:19:54 millert Exp $";
#endif
/* crontab - install and manage per-user crontab files
@@ -316,7 +316,7 @@ edit_cmd() {
}
}
- um = umask(0600);
+ um = umask(077);
(void) sprintf(Filename, "/tmp/crontab.XXXXXXXX");
if ((t = mkstemp(Filename)) == -1) {
perror(Filename);