Hey!
So I've been fiddling around and trying to get the USER rooted to the USER dataset and not the branch before.
User in question - ftpuser
ftpuser has primary group 'ftpuser' and auxillary group 'sftp' which is used as reference for the SSH match block.
What happens is that if I set the home directory of the USER to be '/mnt/MirrorVolume/sftp/ftpuser' and if I set the extra options in ssh to:
I get the ERROR when trying to connect to it through FileZilla/WinSCP: Server unexpectedly closed network connection.
Storage:
Permissions:
MirrorVolume: rwx r-x r-x root:wheel
sftp: rwx r-x r-x root:wheel
sftp/ftpuser: rwx r-x r-x ftpuser:ftpuser
I can make the connection work by making the home directory of the 'ftpuser' to '/mnt/MirrorVolume/sftp' which lets it connect but I don't wish to do so as the ftpuser will be able to see other users directories such as the 'sftp/arctic' directory.
So if was wondering if I am able to make the root of the ftpuser be 'sftp/ftpuser' instead of just 'sftp'?
Thanks in advance, tell me if you need more some kind of info to understand.
Freenas version: FreeNAS-9.10.1-U2 (f045a8b)
So I've been fiddling around and trying to get the USER rooted to the USER dataset and not the branch before.
User in question - ftpuser
ftpuser has primary group 'ftpuser' and auxillary group 'sftp' which is used as reference for the SSH match block.
What happens is that if I set the home directory of the USER to be '/mnt/MirrorVolume/sftp/ftpuser' and if I set the extra options in ssh to:

I get the ERROR when trying to connect to it through FileZilla/WinSCP: Server unexpectedly closed network connection.
Storage:

Permissions:
MirrorVolume: rwx r-x r-x root:wheel
sftp: rwx r-x r-x root:wheel
sftp/ftpuser: rwx r-x r-x ftpuser:ftpuser
I can make the connection work by making the home directory of the 'ftpuser' to '/mnt/MirrorVolume/sftp' which lets it connect but I don't wish to do so as the ftpuser will be able to see other users directories such as the 'sftp/arctic' directory.
So if was wondering if I am able to make the root of the ftpuser be 'sftp/ftpuser' instead of just 'sftp'?
Thanks in advance, tell me if you need more some kind of info to understand.
Freenas version: FreeNAS-9.10.1-U2 (f045a8b)