diff --git a/testsuite/expect/test7.11 b/testsuite/expect/test7.11
index ae16efc9ffc515a506294396d7da1a4187f2c730..01a04aa9c33a39d3247b939a594f43ad764f6e11 100755
--- a/testsuite/expect/test7.11
+++ b/testsuite/expect/test7.11
@@ -98,6 +98,8 @@ if {[file exists $spank_conf_file]} {
 
 	exec $bin_cp $spank_conf_file $orig_spank_conf
 	exec $bin_cp $spank_conf_file $new_spank_conf
+	exec $bin_chmod 700 $spank_conf_file
+	exec $bin_chmod 700 $new_spank_conf
 } else {
 	exec $bin_cp /dev/null $new_spank_conf
 }