diff options
author | dtucker@openbsd.org <dtucker@openbsd.org> | 2016-05-03 15:30:46 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2016-06-08 11:42:39 +1000 |
commit | d4219028bdef448e089376f3afe81ef6079da264 (patch) | |
tree | f2abd2fccfc8542ba50f3e8ea6fc27a33be2e62f | |
parent | 07d5608bb237e9b3fe86a2aeaa429392230faebf (diff) |
upstream commit
Set umask to prevent "Bad owner or permissions" errors.
Upstream-Regress-ID: 8fdf2fc4eb595ccd80c443f474d639f851145417
-rw-r--r-- | regress/cfginclude.sh | 7 |
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 | ||
4 | tid="config include" | 4 | tid="config include" |
5 | 5 | ||
6 | # to appease StrictModes | ||
7 | umask 022 | ||
8 | |||
6 | cat > $OBJ/ssh_config.i << _EOF | 9 | cat > $OBJ/ssh_config.i << _EOF |
7 | Match host a | 10 | Match host a |
8 | Hostname aa | 11 | Hostname aa |
@@ -139,7 +142,7 @@ trial a aa | |||
139 | 142 | ||
140 | # cleanup | 143 | # cleanup |
141 | rm -f $OBJ/ssh_config.i $OBJ/ssh_config.i.* $OBJ/ssh_config.out | 144 | rm -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 | ||
145 | tid="config include" | 148 | tid="config include" |