diff options
Diffstat (limited to 'apps')
-rwxr-xr-x | apps/files_external/tests/env/start-sftp-atmoz.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/files_external/tests/env/start-sftp-atmoz.sh b/apps/files_external/tests/env/start-sftp-atmoz.sh index 7fb379839ba..f77c7a3fddd 100755 --- a/apps/files_external/tests/env/start-sftp-atmoz.sh +++ b/apps/files_external/tests/env/start-sftp-atmoz.sh @@ -44,7 +44,7 @@ return array( 'host'=>'$host', 'user'=>'$user', 'password'=>'$password', - 'root'=>'', + 'root'=>'upload', ); DELIM @@ -63,3 +63,6 @@ fi echo "Waiting 5 seconds for sftp initialization ... " sleep 5 +# create folder "upload" with correct permissions +docker exec $container bash -c "mkdir /home/$user/upload && chown $user:users /home/$user/upload" + |