<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Linux Forum &mdash; Как скопировать файлы с сохранением прав доступа и владельцами ?]]></title>
	<link rel="self" href="https://linuxforum.ru/extern.php?action=feed&amp;tid=26226&amp;type=atom" />
	<updated>2013-01-23T19:00:22Z</updated>
	<generator>PunBB</generator>
	<id>https://linuxforum.ru/viewtopic.php?id=26226</id>
		<entry>
			<title type="html"><![CDATA[Re: Как скопировать файлы с сохранением прав доступа и владельцами ?]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=322503#p322503" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Lupo Alberto пишет:</cite><blockquote><p>Мне больше нравится</p></blockquote></div><p>Именно поэтому, как уже неоднократно здесь, на форуме, замечалось, man-страницы лучше читать в оригинале.</p>]]></content>
			<author>
				<name><![CDATA[yars]]></name>
				<uri>https://linuxforum.ru/profile.php?id=22799</uri>
			</author>
			<updated>2013-01-23T19:00:22Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=322503#p322503</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Как скопировать файлы с сохранением прав доступа и владельцами ?]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=322502#p322502" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>lone_wolf пишет:</cite><blockquote><p>понял, ошибался... просто в мане это не сказано man tar</p></blockquote></div><p>«Странный» там перевод <img src="https://linuxforum.ru/img/smilies/bx.gif" alt="bx" /><br /></p><div class="codebox"><pre><code>-p, --same-permissions, --preserve-permissions
    извлекает защищенную информацию </code></pre></div><p>Мне больше нравится<br /></p><div class="codebox"><pre><code>-p, --preserve-permissions, --same-permissions
     извлекать информацию о правах доступа к файлу</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Lupo Alberto]]></name>
				<uri>https://linuxforum.ru/profile.php?id=9018</uri>
			</author>
			<updated>2013-01-23T18:58:09Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=322502#p322502</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Как скопировать файлы с сохранением прав доступа и владельцами ?]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=322499#p322499" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Lupo Alberto пишет:</cite><blockquote><div class="quotebox"><cite>lone_wolf пишет:</cite><blockquote><p>а разве tar сохраняет права....</p></blockquote></div><p><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh"><br />lupo@gentoo-laptop ~ % cd /tmp<br />lupo@gentoo-laptop /tmp % mkdir test<br />lupo@gentoo-laptop /tmp % ls &gt; test/ls.txt<br />lupo@gentoo-laptop /tmp % ls -lR test<br />test:<br />итого 4<br />-rw-r--r-- 1 lupo lupo 172 янв.&nbsp; 23 21:30 ls.txt<br />lupo@gentoo-laptop /tmp % su <br />Пароль: <br />gentoo-laptop /tmp # tar cpvf test.tar test<br />test/<br />test/ls.txt<br />gentoo-laptop /tmp # mkdir new<br />gentoo-laptop /tmp # tar xpvf test.tar -C new<br />test/<br />test/ls.txt<br />gentoo-laptop /tmp # ls -lR new<br />new:<br />итого 0<br />drwxr-xr-x 2 lupo lupo 60 янв.&nbsp; 23 21:30 test/</p><p>new/test:<br />итого 4<br />-rw-r--r-- 1 lupo lupo 172 янв.&nbsp; 23 21:30 ls.txt<br /></div></p></blockquote></div><p>понял, ошибался... просто в мане это не сказано <a href="http://www.opennet.ru/man.shtml?topic=tar&amp;category=1">man tar</a></p>]]></content>
			<author>
				<name><![CDATA[lone_wolf]]></name>
				<uri>https://linuxforum.ru/profile.php?id=12648</uri>
			</author>
			<updated>2013-01-23T18:48:24Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=322499#p322499</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Как скопировать файлы с сохранением прав доступа и владельцами ?]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=322494#p322494" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>lone_wolf пишет:</cite><blockquote><p>а разве tar сохраняет права....</p></blockquote></div><p><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh"><br />lupo@gentoo-laptop ~ % cd /tmp<br />lupo@gentoo-laptop /tmp % mkdir test<br />lupo@gentoo-laptop /tmp % ls &gt; test/ls.txt<br />lupo@gentoo-laptop /tmp % ls -lR test<br />test:<br />итого 4<br />-rw-r--r-- 1 lupo lupo 172 янв.&nbsp; 23 21:30 ls.txt<br />lupo@gentoo-laptop /tmp % su <br />Пароль: <br />gentoo-laptop /tmp # tar cpvf test.tar test<br />test/<br />test/ls.txt<br />gentoo-laptop /tmp # mkdir new<br />gentoo-laptop /tmp # tar xpvf test.tar -C new<br />test/<br />test/ls.txt<br />gentoo-laptop /tmp # ls -lR new<br />new:<br />итого 0<br />drwxr-xr-x 2 lupo lupo 60 янв.&nbsp; 23 21:30 test/</p><p>new/test:<br />итого 4<br />-rw-r--r-- 1 lupo lupo 172 янв.&nbsp; 23 21:30 ls.txt<br /></div></p>]]></content>
			<author>
				<name><![CDATA[Lupo Alberto]]></name>
				<uri>https://linuxforum.ru/profile.php?id=9018</uri>
			</author>
			<updated>2013-01-23T18:34:46Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=322494#p322494</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Как скопировать файлы с сохранением прав доступа и владельцами ?]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=322489#p322489" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Lupo Alberto пишет:</cite><blockquote><p>Тогда уж проще -a</p></blockquote></div><p>Ну, я хотел, чтобы ТС дошел до этой мысли сам, тем более, что ман, ссылку на который я дал, на русском языке.</p>]]></content>
			<author>
				<name><![CDATA[yars]]></name>
				<uri>https://linuxforum.ru/profile.php?id=22799</uri>
			</author>
			<updated>2013-01-23T18:21:59Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=322489#p322489</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Как скопировать файлы с сохранением прав доступа и владельцами ?]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=322488#p322488" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Lupo Alberto пишет:</cite><blockquote><div class="quotebox"><cite>lone_wolf пишет:</cite><blockquote><div class="quotebox"><cite>yars пишет:</cite><blockquote><p>Читаем <a href="http://www.opennet.ru/man.shtml?topic=cp&amp;russian=0&amp;category=&amp;submit=%F0%CF%CB%C1%DA%C1%D4%D8+man">man cp</a>, внимание на ключики -R, --preserve.</p></blockquote></div><p>спасибо, гляну...</p></blockquote></div><p>Тогда уж проще <strong>-a</strong><br /></p><div class="codebox"><pre><code>...
-a, --archive
              same as -dR --preserve=all
...</code></pre></div><p>...или, чтоб наверняка, использовать <em>tar</em> <img src="https://linuxforum.ru/img/smilies/bx.gif" alt="bx" /></p></blockquote></div><p>а разве tar сохраняет права....</p>]]></content>
			<author>
				<name><![CDATA[lone_wolf]]></name>
				<uri>https://linuxforum.ru/profile.php?id=12648</uri>
			</author>
			<updated>2013-01-23T18:21:23Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=322488#p322488</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Как скопировать файлы с сохранением прав доступа и владельцами ?]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=322487#p322487" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>lone_wolf пишет:</cite><blockquote><div class="quotebox"><cite>yars пишет:</cite><blockquote><p>Читаем <a href="http://www.opennet.ru/man.shtml?topic=cp&amp;russian=0&amp;category=&amp;submit=%F0%CF%CB%C1%DA%C1%D4%D8+man">man cp</a>, внимание на ключики -R, --preserve.</p></blockquote></div><p>спасибо, гляну...</p></blockquote></div><p>Тогда уж проще <strong>-a</strong><br /></p><div class="codebox"><pre><code>...
-a, --archive
              same as -dR --preserve=all
...</code></pre></div><p>...или, чтоб наверняка, использовать <em>tar</em> <img src="https://linuxforum.ru/img/smilies/bx.gif" alt="bx" /></p>]]></content>
			<author>
				<name><![CDATA[Lupo Alberto]]></name>
				<uri>https://linuxforum.ru/profile.php?id=9018</uri>
			</author>
			<updated>2013-01-23T18:16:58Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=322487#p322487</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Как скопировать файлы с сохранением прав доступа и владельцами ?]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=322481#p322481" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>yars пишет:</cite><blockquote><p>Читаем <a href="http://www.opennet.ru/man.shtml?topic=cp&amp;russian=0&amp;category=&amp;submit=%F0%CF%CB%C1%DA%C1%D4%D8+man">man cp</a>, внимание на ключики -R, --preserve.</p></blockquote></div><p>спасибо, гляну...</p>]]></content>
			<author>
				<name><![CDATA[lone_wolf]]></name>
				<uri>https://linuxforum.ru/profile.php?id=12648</uri>
			</author>
			<updated>2013-01-23T17:49:20Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=322481#p322481</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Как скопировать файлы с сохранением прав доступа и владельцами ?]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=322479#p322479" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Lupo Alberto пишет:</cite><blockquote><p>Откуда и куда нужно скопировать? Производится ли копирование в рамках одного компьютера и одной операционной системы?</p></blockquote></div><p>между 2 винтами подманиваемыми...<br />в рамках получается 1 компьютера ну и 1 операционной ситемы</p>]]></content>
			<author>
				<name><![CDATA[lone_wolf]]></name>
				<uri>https://linuxforum.ru/profile.php?id=12648</uri>
			</author>
			<updated>2013-01-23T17:47:32Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=322479#p322479</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Как скопировать файлы с сохранением прав доступа и владельцами ?]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=322463#p322463" />
			<content type="html"><![CDATA[<p>Читаем <a href="http://www.opennet.ru/man.shtml?topic=cp&amp;russian=0&amp;category=&amp;submit=%F0%CF%CB%C1%DA%C1%D4%D8+man">man cp</a>, внимание на ключики -R, --preserve.</p>]]></content>
			<author>
				<name><![CDATA[yars]]></name>
				<uri>https://linuxforum.ru/profile.php?id=22799</uri>
			</author>
			<updated>2013-01-23T15:49:17Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=322463#p322463</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Как скопировать файлы с сохранением прав доступа и владельцами ?]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=322460#p322460" />
			<content type="html"><![CDATA[<p>Откуда и куда нужно скопировать? Производится ли копирование в рамках одного компьютера и одной операционной системы?</p>]]></content>
			<author>
				<name><![CDATA[Lupo Alberto]]></name>
				<uri>https://linuxforum.ru/profile.php?id=9018</uri>
			</author>
			<updated>2013-01-23T15:30:59Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=322460#p322460</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Как скопировать файлы с сохранением прав доступа и владельцами ?]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=322458#p322458" />
			<content type="html"><![CDATA[<p>Всем привет, вообщем надо скопировать папку с файлами но так чтобы потом заново не вводить каждому файлу его права (на доступ ну и владельца с группой)</p><p>З.Ы. понимаю вопрос очень глупый, но очень надо&nbsp; <img src="https://linuxforum.ru/img/smilies/bu.gif" alt="bu" /></p>]]></content>
			<author>
				<name><![CDATA[lone_wolf]]></name>
				<uri>https://linuxforum.ru/profile.php?id=12648</uri>
			</author>
			<updated>2013-01-23T15:26:02Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=322458#p322458</id>
		</entry>
</feed>
