How to restrict users accessing files under respective path using sftp
Hi,
I have created a path for chroot with no ssh and can only sftp for the user to put and get files.
I have created a folders for 5 users and under that I have created sub folders like deploy and logs.
Whereas, when I sftp to this users, i want the user under the
deploy dir -> to put files and not to get files
log dir -> To get files and not to put files ..
And have a common user -> to access all files ...
how can I make this possible.