Merge pull request #14561 from owncloud/fix-sftp
apply suggestions from @atmoz to fix SFTP setup
This commit is contained in:
commit
64138b0af5
1 changed files with 4 additions and 1 deletions
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in a new issue