summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordtucker@openbsd.org <dtucker@openbsd.org>2016-05-03 15:30:46 +0000
committerDamien Miller <djm@mindrot.org>2016-06-08 11:42:39 +1000
commitd4219028bdef448e089376f3afe81ef6079da264 (patch)
treef2abd2fccfc8542ba50f3e8ea6fc27a33be2e62f
parent07d5608bb237e9b3fe86a2aeaa429392230faebf (diff)
upstream commit
Set umask to prevent "Bad owner or permissions" errors. Upstream-Regress-ID: 8fdf2fc4eb595ccd80c443f474d639f851145417
-rw-r--r--regress/cfginclude.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/regress/cfginclude.sh b/regress/cfginclude.sh
index 3232fa9f0..2fc39ce45 100644
--- a/regress/cfginclude.sh
+++ b/regress/cfginclude.sh
@@ -1,8 +1,11 @@
1# $OpenBSD: cfginclude.sh,v 1.1 2016/04/15 00:31:10 djm Exp $ 1# $OpenBSD: cfginclude.sh,v 1.2 2016/05/03 15:30:46 dtucker Exp $
2# Placed in the Public Domain. 2# Placed in the Public Domain.
3 3
4tid="config include" 4tid="config include"
5 5
6# to appease StrictModes
7umask 022
8
6cat > $OBJ/ssh_config.i << _EOF 9cat > $OBJ/ssh_config.i << _EOF
7Match host a 10Match host a
8 Hostname aa 11 Hostname aa
@@ -139,7 +142,7 @@ trial a aa
139 142
140# cleanup 143# cleanup
141rm -f $OBJ/ssh_config.i $OBJ/ssh_config.i.* $OBJ/ssh_config.out 144rm -f $OBJ/ssh_config.i $OBJ/ssh_config.i.* $OBJ/ssh_config.out
142# $OpenBSD: cfginclude.sh,v 1.1 2016/04/15 00:31:10 djm Exp $ 145# $OpenBSD: cfginclude.sh,v 1.2 2016/05/03 15:30:46 dtucker Exp $
143# Placed in the Public Domain. 146# Placed in the Public Domain.
144 147
145tid="config include" 148tid="config include"