diff --git a/tests/run b/tests/run index 3874fe7..6b76a7b 100755 --- a/tests/run +++ b/tests/run @@ -14,6 +14,9 @@ function beforeTest() { docker build --pull=true --tag "$sftpImageName" "$buildDir" fi + # Private key can not be read by others + chmod go-rw "$scriptDir/id_rsa" + rm -rf "$tmpDir" # clean state mkdir "$tmpDir"