Product:
Search Type:

I turned chrooted shell on and tested the command 'tar' on the domain but without any results.

Article ID: 818 
Last Review: Sep,03 2007
APPLIES TO:
  • Plesk 7.1.x Reloaded
  • Plesk 7.5.x Reloaded
  • Plesk 7.5.4 Reloaded
  • Plesk 8.x for Linux/Unix
  • Plesk 8.0.x for Linux/Unix
  • Plesk 8.1.x for Linux/Unix
  • Plesk 8.2.0 for Linux/Unix

RESOLUTION


By default chrooted shell provides limited functionality only, it only allows to use very common commands such as `cp`, `mv`, `mkdir` and so on. `tar` is not included into chrooted shell as well as a lot of other system utilities. You can check /home/httpd/vhosts/chroot for details.

If you want to add more files to chroot for all the domains, you can copy them to the appropriate subfolder in /home/httpd/vhosts/chroot and run two commands:

/usr/local/psa/admin/sbin/chrootmng --remove --source=/var/www/vhosts/chroot --target=all

/usr/local/psa/admin/sbin/chrootmng --create --source=/var/www/vhosts/chroot --target=all


Note, the paths in the example above may differs from your Plesk installation depending on Plesk and OS versions.

Note, some application may require additional libraries that must be also copied into appropriate folders in chroot.

Please provide feedback on this article

Did this article help you solve your issue?
Yes
No
Partially
I do not know yet
 
Strongly Agree   Strongly Disagree
  9 8 7 6 5 4 3 2 1
The article is easy to understand
The article is accurate
Additional Comments:
*Please provide us with your email address in case we need to contact you.
*Please type the code you can see.
* - required fields