kovinet
  • Member for 11 years, 2 months
  • Last seen this week
My sftp jailed user can't see directories below the ChrootDirectory
1 votes

The problem I see in your configuration is that all folders in tree, to where you want to jail user, must be owned (user and group) by root. In your case it should be: /var/www (root:root, 755)

View answer