NO.Idea

SFTP

  1. ChrootDirectory mustn't be writtable
  2. Use sftp -vvv user@host to debug from client. But the information from this is quite implicit. Instead /usr/bin/sshd -d can debug from server and give information like bad ownership or modes for chroot directory component.