summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-02-27 00:02:39 -0800
committerThomas Müller <thomas.mueller@tmit.eu>2015-02-27 00:02:39 -0800
commit64138b0af50dacab4ec8da20406c0131d8dee423 (patch)
tree920caa35ffc98cf73d22ce953cf57846f7412ad4 /apps
parentd20061e5b1edd21c2160c36769132b017afa6b97 (diff)
parent63f5d7d3d62ac7abab5d904a3fd51c37115083f7 (diff)
downloadnextcloud-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-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"
+