From 00047c631198913e6c3d34b57e22c0198a4cea4b Mon Sep 17 00:00:00 2001 From: Antoine Jacoutot Date: Thu, 26 Oct 2006 12:20:56 +0000 Subject: 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@ --- etc/monthly | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'etc/monthly') 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 "" -- cgit v1.2.3