<?xml version="1.0" encoding="UTF-8"?>

<rss version="2.0"
 xmlns:blogChannel="http://backend.userland.com/blogChannelModule"
>

<channel>
<title>Parallels knowledgebase (KB)</title>
<link>http://kb.parallels.com/</link>
<description>Parallels knowledgebase (KB)</description>
<language>en</language>
<copyright>Copyright 2008 Parallels</copyright>
<pubDate>Wed, 10 Sep 2008 00:00:00 +0600</pubDate>
<lastBuildDate>Wed, 10 Sep 2008 00:00:00 +0600</lastBuildDate>
<webMaster>rt-team@parallels.com</webMaster>

<item>
<title><![CDATA[I turned chrooted shell on and tested the command 'tar' on the domain but without any results.]]></title>
<link>http://kb.parallels.com/en/818</link>
<description><![CDATA[<div id="article">
	




	<div id="kb" class="kb">
		<div class="article-container">
			<h2 class="title">I turned chrooted shell on and tested the command 'tar' on the domain but without any results.</h2>
			<div class="ab-frame"><div class="bl"><div class="br"><div class="tl"><div class="tr"><!-- frame -->
				<div class="articleProperty">
					<div>Article ID: 818&nbsp;</div>
					<div>Last Review: Mar,10 2009</div>
					<tr>
						<td>Author: </td>
						<td>Vitaly Malakhov</td>
					</tr>
					<br/>
					<tr>
						<td>Last updated by: </td>
						<td>Vitaly Malakhov</td>
					</tr>
				</div><!-- articleProperty -->
			</div></div></div></div></div><!-- frame -->

			<div class="article-internal-flag"></div>

			<div id="article-content">
				<div class="article-part">
					<h2>Resolution</h2>
					<br />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.<br /><br />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:<br /><br /><div class="commandline"><code> /usr/local/psa/admin/sbin/chrootmng --remove --source=/var/www/vhosts/chroot --target=all<br /><br />/usr/local/psa/admin/sbin/chrootmng --create --source=/var/www/vhosts/chroot --target=all</code></div><br /><br />Note, the paths in the example above may differs from your Plesk installation depending on Plesk and OS versions.<br /><br />Note, some application may require additional libraries that must be also copied into appropriate folders in chroot.
				</div>
			</div>
		</div><!-- article-container -->


			<br/><br/>

			<div id="SubscriptionLink24Article" class="subscriptionLink2">
<a href="http://kb.parallels.com/subscriptions/index.html?Type=Article&ArticleID=818&ArticleLanguage=en&Product=&Category="><img src="http://kb.parallels.com/images/mail.png" width="15" height="15" alt="Subscription for changes to this article"></a>
<a href="http://kb.parallels.com/subscriptions/index.html?Type=Article&ArticleID=818&ArticleLanguage=en&Product=&Category=">Subscription for changes to this article</a>

<script type="text/javascript">

$(document).ready(function() {
	$('#SubscriptionLink24Article a').each(function(){
		$(this).click(function(event) {
			event.preventDefault();
			MainPageContentHide();
			$('#subscription').html('');
			$.get('/Stuff/Subscription', {
													'Type' : 'Article',
													'ArticleID' : '818',
													'ArticleLanguage' : 'en',
													'Product' : '',
													'Category' : ''
												}, function(data) {
																	$('#subscription').html(data);
																	$('#subscription').show();
																	SUBbuildsubmenus_product();
																});
		});
	});
});

</script>

</div>





	</div><!-- kb -->

</div><!-- article -->


]]></description>
<author>Vitaly Malakhov</author>
<guid isPermaLink="false">474 LastUpdated: 2009-03-10 06:23:27</guid>
<pubDate>2008-10-06 09:10:45</pubDate>
</item>
</channel>
</rss>



