summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2015-02-26 23:49:18 +0100
committerMorris Jobke <hey@morrisjobke.de>2015-02-26 23:49:18 +0100
commit63f5d7d3d62ac7abab5d904a3fd51c37115083f7 (patch)
tree111d4c789e90af9fc17988188dde76b652333b8b /apps
parent2d9886d1c31801156c74935d4a38d6f6959dc66c (diff)
downloadnextcloud-server-63f5d7d3d62ac7abab5d904a3fd51c37115083f7.tar.gz
nextcloud-server-63f5d7d3d62ac7abab5d904a3fd51c37115083f7.zip
apply suggestions from @atmoz to fix SFTP setup
Diffstat (limited to 'apps')
-rwxr-xr-xapps/files_external/tests/env/start-sftp-atmoz.sh5
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"
+