-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
/home/user is empty #16
Comments
Try the following configuration: bind /home/%u /home/ rw,nodev,nosuid |
yes it worked after I added your given command in the jail configuration below: But when I try to open a file inside /home/user through winSCP, I get the below error: I got this error when I tried opening some files in /home/user. |
You should copy scp command into jail.
|
I want to put 5 users in the same jail. But those users should not be able to access other users' /home directory. |
%u means user name |
How to give a jailed user access to entire /usr directory using bind mounts? I tried adding "bind /usr /usr ro,nodev,exec,nosuid" in jail conf. It did not work for me. |
Bind the entire /usr directory is not supported because the /usr/bin/init program in the jail is required. |
I jailed an already created user using your commands.
The /home/user directory has files and directories like public_html, mail, www, ssl, etc.
But in the jailed environment, the /home/user directory is empty.
I checked that in WinSCP.
I want that when I jail user, the home folder should retain all its files and folders.
The text was updated successfully, but these errors were encountered: