Environment: CentOS 6 64bit. Users will be under the group sftpusers with no shell. They will have a directory inside chrooted directory named incoming. Chrooted directory will be /sftp/%u.
Main requirement: For this to work, ensure that the chrooted directory is owned by root and is not writable by group or any other user.