diff options
author | dtucker@openbsd.org <dtucker@openbsd.org> | 2016-05-03 17:30:46 +0200 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2016-06-08 03:42:39 +0200 |
commit | d4219028bdef448e089376f3afe81ef6079da264 (patch) | |
tree | f2abd2fccfc8542ba50f3e8ea6fc27a33be2e62f /regress/cfginclude.sh | |
parent | upstream commit (diff) | |
download | openssh-d4219028bdef448e089376f3afe81ef6079da264.tar.xz openssh-d4219028bdef448e089376f3afe81ef6079da264.zip |
upstream commit
Set umask to prevent "Bad owner or permissions" errors.
Upstream-Regress-ID: 8fdf2fc4eb595ccd80c443f474d639f851145417
Diffstat (limited to 'regress/cfginclude.sh')
-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 @@ -# $OpenBSD: cfginclude.sh,v 1.1 2016/04/15 00:31:10 djm Exp $ +# $OpenBSD: cfginclude.sh,v 1.2 2016/05/03 15:30:46 dtucker Exp $ # Placed in the Public Domain. tid="config include" +# to appease StrictModes +umask 022 + cat > $OBJ/ssh_config.i << _EOF Match host a Hostname aa @@ -139,7 +142,7 @@ trial a aa # cleanup rm -f $OBJ/ssh_config.i $OBJ/ssh_config.i.* $OBJ/ssh_config.out -# $OpenBSD: cfginclude.sh,v 1.1 2016/04/15 00:31:10 djm Exp $ +# $OpenBSD: cfginclude.sh,v 1.2 2016/05/03 15:30:46 dtucker Exp $ # Placed in the Public Domain. tid="config include" |