I set up a jail for a remote user under SSH (Cygwin), and he is jailed at /jail/user/home/user
. When he connects with some SFTP client (ex: Filezilla), he can access his /home/user
folder and control it, but also /dev
folder too. In this folder, he can read, write, but not delete or download files.
There's something wrong with ChrootDirectory
directive in sshd_config file?