Skip to content
Snippets Groups Projects
Commit 64138b0a authored by Thomas Müller's avatar Thomas Müller
Browse files

Merge pull request #14561 from owncloud/fix-sftp

apply suggestions from @atmoz to fix SFTP setup
parents d20061e5 63f5d7d3
No related branches found
No related tags found
No related merge requests found
...@@ -44,7 +44,7 @@ return array( ...@@ -44,7 +44,7 @@ return array(
'host'=>'$host', 'host'=>'$host',
'user'=>'$user', 'user'=>'$user',
'password'=>'$password', 'password'=>'$password',
'root'=>'', 'root'=>'upload',
); );
DELIM DELIM
...@@ -63,3 +63,6 @@ fi ...@@ -63,3 +63,6 @@ fi
echo "Waiting 5 seconds for sftp initialization ... " echo "Waiting 5 seconds for sftp initialization ... "
sleep 5 sleep 5
# create folder "upload" with correct permissions
docker exec $container bash -c "mkdir /home/$user/upload && chown $user:users /home/$user/upload"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment