artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0989f7
)
umask != file mode
author
millert
<millert@openbsd.org>
Mon, 16 Sep 1996 17:19:54 +0000
(17:19 +0000)
committer
millert
<millert@openbsd.org>
Mon, 16 Sep 1996 17:19:54 +0000
(17:19 +0000)
usr.sbin/cron/crontab.c
patch
|
blob
|
history
diff --git
a/usr.sbin/cron/crontab.c
b/usr.sbin/cron/crontab.c
index
a6af2f4
..
ae7d042
100644
(file)
--- 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 deraad
t Exp $";
+static char rcsid[] = "$Id: crontab.c,v 1.
4 1996/09/16 17:19:54 miller
t Exp $";
#endif
/* crontab - install and manage per-user crontab files
@@
-316,7
+316,7
@@
edit_cmd() {
}
}
- um = umask(0
600
);
+ um = umask(0
77
);
(void) sprintf(Filename, "/tmp/crontab.XXXXXXXX");
if ((t = mkstemp(Filename)) == -1) {
perror(Filename);