Mr. Gosh
Cadet
- Joined
- Nov 24, 2013
- Messages
- 8
Hey,
we want to open an sftp share to our wan interface and because I don't want to trust the Unix permissions for reasons I want to create a read only view on a special folder.
I know from Linux, that this is possible, but how do I create something like this persistent in freenas?
and than I want to put the ssh user in this as his home directory, and the best it would be to chroot the user to that directory...
How would you do something like that?
we want to open an sftp share to our wan interface and because I don't want to trust the Unix permissions for reasons I want to create a read only view on a special folder.
I know from Linux, that this is possible, but how do I create something like this persistent in freenas?
Code:
mount -o remount,ro newdir
and than I want to put the ssh user in this as his home directory, and the best it would be to chroot the user to that directory...
How would you do something like that?