I have an issue I have never run into.
I want to trap users logging into my Pi in a directory tree.
I have an external drive mounted via USB at:
I have edited .bashrc to start the users in:
I want to trap these user in /mnt/Files/Share/, I don't want the to be able to go lower in the directory tree. For example, I do not want them to be able to "cd .." to go lower, but they should be able to use "cd" to go higher on the tree, use "ls", "mkdir", etc... I just want them stuck where they are and not be able to reach "cd /".
Is this possible? i know you can take away "cd", "ls", "mkdir", etc, but that's not what I want. They will be using WinSCP to dump files via SSH, and I don't want them to be able to reach other directory structures like /etc/fstab!!!
Thoughts??? Thanks in advance