Issue :

After allocating jailshell , the user is not able to use commands like ‘ls’ , ‘touch’ , ‘mkdir’ etc. within his own home directory.


Try the following steps :

1. Get into the directory /home/virtfs/username/home/ via SSH and check the ownership and permissions of the folder named username inside this directory. The ownership should be username.username and permissions should be 711 .

2. If the above does not work then try un-mounting the entire virtfs directory and log back in to the SSH user:

root@server [~]# umount /home/virtfs//home//

Contact Us On WhatsApp