projects
/
monkeysphere.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
testing: tighten up the umask before sshd launch, so that the socket is not exposed...
[monkeysphere.git]
/
tests
/
basic
diff --git
a/tests/basic
b/tests/basic
index 9c3796cd516d770e9168d05b05830c4a3d75eed5..d82719df8ad9d1d4bf103e635a9e7c375a021682 100755
(executable)
--- 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=$!