upstream commit

Set umask to prevent "Bad owner or permissions" errors.

Upstream-Regress-ID: 8fdf2fc4eb595ccd80c443f474d639f851145417
This commit is contained in:
dtucker@openbsd.org 2016-05-03 15:30:46 +00:00 committed by Damien Miller
parent 07d5608bb2
commit d4219028bd
1 changed files with 5 additions and 2 deletions

View File

@ -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"