summaryrefslogtreecommitdiff
path: root/etc/monthly
diff options
context:
space:
mode:
authorAntoine Jacoutot <ajacoutot@cvs.openbsd.org>2006-10-26 12:20:56 +0000
committerAntoine Jacoutot <ajacoutot@cvs.openbsd.org>2006-10-26 12:20:56 +0000
commit00047c631198913e6c3d34b57e22c0198a4cea4b (patch)
treea53057f91d5c82e11c84cb8078be672d4ecfc433 /etc/monthly
parent94ca144f1ac2a61e641a02903193d6f73ae27b9f (diff)
Force umask to 022 so we don't heritate 077 from root's crontab command
(output logs are still umask 077) "i think this is right" deraadt@
Diffstat (limited to 'etc/monthly')
-rw-r--r--etc/monthly3
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/monthly b/etc/monthly
index 910128c0da9..8b82ef0cb9b 100644
--- a/etc/monthly
+++ b/etc/monthly
@@ -1,5 +1,6 @@
#!/bin/sh -
-# $OpenBSD: monthly,v 1.6 2005/11/12 16:14:37 jmc Exp $
+# $OpenBSD: monthly,v 1.7 2006/10/26 12:20:55 ajacoutot Exp $
+umask 022
if [ -f /etc/monthly.local ];then
echo ""