diff options
Diffstat (limited to 'tests/torture.c')
-rw-r--r-- | tests/torture.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/torture.c b/tests/torture.c index 1dbae46d..7c5f925d 100644 --- a/tests/torture.c +++ b/tests/torture.c @@ -248,6 +248,8 @@ struct torture_sftp *torture_sftp_session(ssh_session session) { if (p == NULL) { goto failed; } + /* useful if TESTUSER is not the local user */ + chmod(template,0777); t->testdir = strdup(p); if (t->testdir == NULL) { goto failed; |