diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-02-27 00:02:39 -0800 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-02-27 00:02:39 -0800 |
commit | 64138b0af50dacab4ec8da20406c0131d8dee423 (patch) | |
tree | 920caa35ffc98cf73d22ce953cf57846f7412ad4 /apps | |
parent | d20061e5b1edd21c2160c36769132b017afa6b97 (diff) | |
parent | 63f5d7d3d62ac7abab5d904a3fd51c37115083f7 (diff) | |
download | nextcloud-server-64138b0af50dacab4ec8da20406c0131d8dee423.tar.gz nextcloud-server-64138b0af50dacab4ec8da20406c0131d8dee423.zip |
Merge pull request #14561 from owncloud/fix-sftp
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" + |