From bee6028687945fd7d8d6eab98c26def2ecadf8b1 Mon Sep 17 00:00:00 2001 From: Daniel Kahn Gillmor Date: Tue, 28 Oct 2008 18:26:10 -0400 Subject: testing: tighten up the umask before sshd launch, so that the socket is not exposed during the test. --- tests/basic | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/basic') diff --git a/tests/basic b/tests/basic index 9c3796c..d82719d 100755 --- a/tests/basic +++ b/tests/basic @@ -20,6 +20,7 @@ gpgadmin() { } launch_sshd() { + umask 0077 socat EXEC:"/usr/sbin/sshd -f ${SSHD_CONFIG} -i -D -e" "UNIX-LISTEN:${SOCKET}" 2> "$TEMPDIR"/sshd.log & export SSHD_PID=$! -- cgit v1.2.3