Hello,
I am attempting to create some shared FTP storage by setting up a storage box attached to a VPS with CIFS. I want to be able to use SSH/SFTP, but not let each users see each others files. I have gotten it to work by having everything run locally. However, when I mount my storagebox at /home I suddenly cannot connect to SSH/SFTP with the created accounts. SSHing just closes down without errors and SFTP just gives me the error that I cannot connect to the server. FTP works as normal without issues.
I have tried with a wide variety of permission. chmod 0770, 0775, 0777 and so forth and making root the owner or not. If i unmount the drive and have /home locally then everything works as expected again.
I assume there it must be a permission thing, but I am not sure. Or is doing this just not feasible? I just cannot see why it would not work.
Anyone could guide me on the right path here? Thanks
Using debian 11 with latest version of Webmin/virtualmin.