Merge pull request #14561 from owncloud/fix-sftp

apply suggestions from @atmoz to fix SFTP setup
This commit is contained in:
Thomas Müller 2015-02-27 00:02:39 -08:00
commit 64138b0af5

View file

@ -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"