Introduction
In this guide, we discuss how to add new directories for Jailed Shell users.
Procedure
- To add directories to a custom mount, perform the following steps:
- Create the file /var/cpanel/jailshell-additional-mounts preferred editor.
- In this new file, add each directory as an absolute directory path on a separate line. For example:
/usr/local/test1
/usr/local/test2
/usr/local/test3 - Note, do not use relative paths or append trailing slashes to the directory names.
- Save the file.
For more information, please see our How to create custom Jailed Shell mounts documentation.