first thanks for an excellant script it works great
i have found one little problem when using sftp as a user it gives access to the whole drive if you use port 4747 sftp you cant write to this but you can see everything that is on the drive
in ssh this is not possible as the user is locked into his directory but in sftp it isnt
any ideas how i can stop this
thanks guys