diff options
author | Morris Jobke <hey@morrisjobke.de> | 2015-02-26 23:49:18 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2015-02-26 23:49:18 +0100 |
commit | 63f5d7d3d62ac7abab5d904a3fd51c37115083f7 (patch) | |
tree | 111d4c789e90af9fc17988188dde76b652333b8b /apps | |
parent | 2d9886d1c31801156c74935d4a38d6f6959dc66c (diff) | |
download | nextcloud-server-63f5d7d3d62ac7abab5d904a3fd51c37115083f7.tar.gz nextcloud-server-63f5d7d3d62ac7abab5d904a3fd51c37115083f7.zip |
apply suggestions from @atmoz to fix SFTP setup
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" + |