From d4219028bdef448e089376f3afe81ef6079da264 Mon Sep 17 00:00:00 2001 From: "dtucker@openbsd.org" Date: Tue, 3 May 2016 15:30:46 +0000 Subject: [PATCH] upstream commit Set umask to prevent "Bad owner or permissions" errors. Upstream-Regress-ID: 8fdf2fc4eb595ccd80c443f474d639f851145417 --- regress/cfginclude.sh | 7 +++++-- 1 file 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"