<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://dev1galaxy.org/extern.php?action=feed&amp;tid=6779&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / how restore default permissions root folder after copy OS to SSD?]]></title>
		<link>http://dev1galaxy.org/viewtopic.php?id=6779</link>
		<description><![CDATA[The most recent posts in how restore default permissions root folder after copy OS to SSD?.]]></description>
		<lastBuildDate>Thu, 10 Oct 2024 15:24:15 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: how restore default permissions root folder after copy OS to SSD?]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=52610#p52610</link>
			<description><![CDATA[<p>regarding post number 8 in this thread.</p><p>i can no longer recommend PartedMagic after discovering multiple reports of very poor customer service.</p><p>see these links for just a few such instances:</p><p><a href="https://www.reddit.com/r/sysadmin/comments/8k61r6/partedmagic_anyone_else_still_using_it_any/" rel="nofollow"> https://www.reddit.com/r/sysadmin/comments/8k61r6/partedmagic_anyone_else_still_using_it_any/</a></p><p><a href="https://www.trustpilot.com/review/partedmagic.com" rel="nofollow"> https://www.trustpilot.com/review/partedmagic.com</a></p><p>edited: added more content</p>]]></description>
			<author><![CDATA[dummy@example.com (stargate-sg1-cheyenne-mtn)]]></author>
			<pubDate>Thu, 10 Oct 2024 15:24:15 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=52610#p52610</guid>
		</item>
		<item>
			<title><![CDATA[Re: how restore default permissions root folder after copy OS to SSD?]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=52007#p52007</link>
			<description><![CDATA[<p>If the ID has the same name, UID and GID then&#160; --numeric-ids won&#039;t make any difference.</p><p>Try an experiment copying a small directory with various options and see how it works.</p>]]></description>
			<author><![CDATA[dummy@example.com (chris2be8)]]></author>
			<pubDate>Sun, 01 Sep 2024 16:46:31 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=52007#p52007</guid>
		</item>
		<item>
			<title><![CDATA[Re: how restore default permissions root folder after copy OS to SSD?]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=51994#p51994</link>
			<description><![CDATA[<p>@chris2be8</p><div class="quotebox"><blockquote><div><p>It won&#039;t matter if on both systems the users have the same numeric UID and GID. But it will make a difference if the users have different UIDs or GIDs. Check /etc/passwd on both systems to see what is likely to happen.</p><p>Eg if chris has UID 1000 on the source system and UID 1001 on the target you don&#039;t want to use --numeric-ids.<br />But if the names differ but have the same UID (eg chris is UID 1000 on source and fred is UID 1000 on the target (chris doesn&#039;t exist on it)) --numeric-ids would leave everything owned by fred.</p><p>I hope that&#039;s enough to let you understand what difference it would make.</p></div></blockquote></div><p>and what happens if i use&#160; --numeric-ids, but with same user names?<br />at cloned disk, at /etc/group, /etc/passwd my user have 1000:1001 is it correct?</p>]]></description>
			<author><![CDATA[dummy@example.com (deepforest)]]></author>
			<pubDate>Sun, 01 Sep 2024 07:57:44 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=51994#p51994</guid>
		</item>
		<item>
			<title><![CDATA[Re: how restore default permissions root folder after copy OS to SSD?]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=51930#p51930</link>
			<description><![CDATA[<p><a href="https://github.com/stevenshiau/clonezilla/issues/116" rel="nofollow">https://github.com/stevenshiau/clonezilla/issues/116</a><br /><a href="https://github.com/stevenshiau/clonezilla/issues/115" rel="nofollow">https://github.com/stevenshiau/clonezilla/issues/115</a></p>]]></description>
			<author><![CDATA[dummy@example.com (deepforest)]]></author>
			<pubDate>Thu, 29 Aug 2024 06:28:59 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=51930#p51930</guid>
		</item>
		<item>
			<title><![CDATA[Re: how restore default permissions root folder after copy OS to SSD?]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=51920#p51920</link>
			<description><![CDATA[<div class="quotebox"><blockquote><div><p>clonezilla is free<br /><a href="https://en.wikipedia.org/wiki/Clonezilla" rel="nofollow">https://en.wikipedia.org/wiki/Clonezilla</a></p></div></blockquote></div><p>shit too<br />try it<br />its so slooow working<br />its searching all my partitions about 10-15 min<br />i start clonzilla iso to ram from easy2boot flash</p>]]></description>
			<author><![CDATA[dummy@example.com (deepforest)]]></author>
			<pubDate>Wed, 28 Aug 2024 20:29:32 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=51920#p51920</guid>
		</item>
		<item>
			<title><![CDATA[Re: how restore default permissions root folder after copy OS to SSD?]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=51916#p51916</link>
			<description><![CDATA[<p>To deepforest: look at the link about dd&#039;s man page or say in terminal: </p><div class="codebox"><pre><code>man dd</code></pre></div><p>. The most essential parameters are &quot;if=/dev/source&quot; and &quot;of=/dev/target&quot;.</p><p>Although, if you&#039;re not familiar with dd, i strongly recommend experimenting inside a vm first before using &quot;dd&quot; in bare metal.</p><p>Dd&#039;ing to smaller partition will result in a damaged target partition and some complaints from dd when target runs out of space. So, not recommended.</p>]]></description>
			<author><![CDATA[dummy@example.com (nahkhiirmees)]]></author>
			<pubDate>Wed, 28 Aug 2024 18:40:14 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=51916#p51916</guid>
		</item>
		<item>
			<title><![CDATA[Re: how restore default permissions root folder after copy OS to SSD?]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=51912#p51912</link>
			<description><![CDATA[<p>It won&#039;t matter if on both systems the users have the same numeric UID and GID. But it will make a difference if the users have different UIDs or GIDs. Check /etc/passwd on both systems to see what is likely to happen.</p><p>Eg if <span class="bbc">chris</span> has UID 1000 on the source system and UID 1001 on the target you don&#039;t want to use --numeric-ids.<br />But if the names differ but have the same UID (eg chris is UID 1000 on source and fred is UID 1000 on the target (chris doesn&#039;t exist on it)) --numeric-ids would leave everything owned by fred.</p><p>I hope that&#039;s enough to let you understand what difference it would make.</p>]]></description>
			<author><![CDATA[dummy@example.com (chris2be8)]]></author>
			<pubDate>Wed, 28 Aug 2024 16:51:28 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=51912#p51912</guid>
		</item>
		<item>
			<title><![CDATA[Re: how restore default permissions root folder after copy OS to SSD?]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=51899#p51899</link>
			<description><![CDATA[<div class="quotebox"><blockquote><div><p>if it so, why this important thing not mentioned in the rsync manual at first place?</p></div></blockquote></div><p>That I do not know.&#160; I have moved/archived/copied installs this way for several years now.&#160; When using only devuan to copy or rsync an install this was never an issue, so I never used the &quot;--numeric-ids&quot; in my rsync command.&#160; However, once I used a different operating system, this became an issue.&#160; So I tried it on the recommendation in the Void forums, and it worked.&#160; I used devuan to rsync a different linux OS, and &quot;--numeric-ids&quot; worked.</p><p>It is mentioned in the rsync man file:</p><div class="codebox"><pre><code>man rsync</code></pre></div><div class="quotebox"><blockquote><div><p>--numeric-ids&#160; &#160; &#160; &#160; &#160; &#160; don&#039;t map uid/gid values by user/group name</p></div></blockquote></div>]]></description>
			<author><![CDATA[dummy@example.com (nixer)]]></author>
			<pubDate>Tue, 27 Aug 2024 20:42:14 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=51899#p51899</guid>
		</item>
		<item>
			<title><![CDATA[Re: how restore default permissions root folder after copy OS to SSD?]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=51898#p51898</link>
			<description><![CDATA[<p>if i use dd it copy not files but sectors,<br />how use dd if destination bigger/smaller then source partition?</p>]]></description>
			<author><![CDATA[dummy@example.com (deepforest)]]></author>
			<pubDate>Tue, 27 Aug 2024 20:34:08 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=51898#p51898</guid>
		</item>
		<item>
			<title><![CDATA[Re: how restore default permissions root folder after copy OS to SSD?]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=51893#p51893</link>
			<description><![CDATA[<p>... and if going the &quot;dd-route&quot; , one should make the destination partition first, for example with fdisk(<a href="https://linux.die.net/HOWTO/Partition/fdisk_partitioning.html" rel="nofollow">https://linux.die.net/HOWTO/Partition/f … oning.html</a>) (or lvcreate(<a href="https://linux.die.net/man/8/lvcreate" rel="nofollow">https://linux.die.net/man/8/lvcreate</a>) if using lvm).</p><p>Destination_partition cannot be smaller than source_partition or data loss will occur.</p><p>... and if the destination_pari is bigger than source, resizefs <a href="https://linux.die.net/man/8/resize2fs" rel="nofollow">https://linux.die.net/man/8/resize2fs</a> could be a good idea afterwards. Assuming the fs is ext_something_fs. With other filesystems there are other commands for resiuzing, maybe.</p><p>And rezize2fs will propably require to run e2fsck before the actual resizing.</p>]]></description>
			<author><![CDATA[dummy@example.com (nahkhiirmees)]]></author>
			<pubDate>Tue, 27 Aug 2024 18:05:42 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=51893#p51893</guid>
		</item>
		<item>
			<title><![CDATA[Re: how restore default permissions root folder after copy OS to SSD?]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=51892#p51892</link>
			<description><![CDATA[<p>After reading first few messages of this topic, i was going to suggest &quot;tar -cp&quot; and &quot;tar -xp&quot;.<br />But maybe unmounting and dd&#039;ing the underlying partition from source to destination would be better. <br />Although those commands are dangerous with wrong parameters, especially when ran as root. But same can be said about cp and rsync also.</p><p>E. <br />&#039;<br /><a href="https://linux.die.net/man/1/tar" rel="nofollow">https://linux.die.net/man/1/tar</a><br /><a href="https://linux.die.net/man/1/dd" rel="nofollow">https://linux.die.net/man/1/dd</a></p><p>Not 100% sure about those acl&#039;s, attributes or capabilities while using tar&#039;s &quot;-p&quot; - option. But owners and access rights should go into archive and out of it. <br />(Once or tiwce managed to screw up my OS with those options.)</p><p>And then there are some fs-specific things with dd. Ext-family of filesystems better be unmounted while doing dd. <br />And with xfs there may be some problems when there are 2 filesystems with exactly same identifiers.<br />Other than that, i like to think that dd should be thorough enough even if tar&#039;s -p isn&#039;t.</p><p>For beginners, maybe Clonezilla would be a good idea. Haven&#039;t tried it myself though.</p>]]></description>
			<author><![CDATA[dummy@example.com (nahkhiirmees)]]></author>
			<pubDate>Tue, 27 Aug 2024 17:36:07 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=51892#p51892</guid>
		</item>
		<item>
			<title><![CDATA[Re: how restore default permissions root folder after copy OS to SSD?]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=51873#p51873</link>
			<description><![CDATA[<p>@nixer</p><div class="quotebox"><blockquote><div><p>user:group and not UID:GID, which can cause some permissions issues</p></div></blockquote></div><p>if it so, why this important thing not mentioned in the rsync manual at first place?</p>]]></description>
			<author><![CDATA[dummy@example.com (deepforest)]]></author>
			<pubDate>Mon, 26 Aug 2024 12:40:16 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=51873#p51873</guid>
		</item>
		<item>
			<title><![CDATA[Re: how restore default permissions root folder after copy OS to SSD?]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=51872#p51872</link>
			<description><![CDATA[<p>@alexkemp<br />ok, but where is help? i am always use sudo su, and is my habit, and it always worked for me, but after rsync not.<br />I just want to show that Linux is still an wonky and shaky system.</p>]]></description>
			<author><![CDATA[dummy@example.com (deepforest)]]></author>
			<pubDate>Mon, 26 Aug 2024 12:36:10 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=51872#p51872</guid>
		</item>
		<item>
			<title><![CDATA[Re: how restore default permissions root folder after copy OS to SSD?]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=51866#p51866</link>
			<description><![CDATA[<div class="quotebox"><cite>deepforest wrote:</cite><blockquote><div><p>@alexkemp</p><p>If so, what were the error messages?</p><div class="codebox"><pre><code>freeartist-devuan@home:~$ sudo su
ERROR: ld.so: object &#039;libgtk3-nocsd.so.0&#039; from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
[sudo] password for freeartist-devuan:</code></pre></div></div></blockquote></div><p>Since you are someone that ignores the advice that you are given, and yet expects others to keep giving help regardless, I&#039;m backing out of this thread at this point.</p>]]></description>
			<author><![CDATA[dummy@example.com (alexkemp)]]></author>
			<pubDate>Sun, 25 Aug 2024 19:58:44 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=51866#p51866</guid>
		</item>
		<item>
			<title><![CDATA[Re: how restore default permissions root folder after copy OS to SSD?]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=51865#p51865</link>
			<description><![CDATA[<p>As a suggestion, I mentioned adding the &quot;--numeric-ids&quot; option.&#160; It seems that by default rsync will sync user information as user:group and not UID:GID, which can cause some permissions issues.&#160; The &quot;--numeric-ids&quot; will change this behavior.&#160; The user and group name will still copy over but this seems to fix any issued caused by a different operating system handling the rsync data.&#160; Sorry for not being too technical but a search request reveals this:</p><div class="quotebox"><blockquote><div><p>--numeric-ids With this option rsync will transfer numeric group and user IDs rather than using user and group names and mapping them at both ends. By default rsync will use the username and groupname to determine what ownership to give files.</p></div></blockquote></div><p>Hey, I tried it and it worked.&#160; So, I thought I would mention it as it sounds like you are having similar issues.</p>]]></description>
			<author><![CDATA[dummy@example.com (nixer)]]></author>
			<pubDate>Sun, 25 Aug 2024 19:31:45 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=51865#p51865</guid>
		</item>
	</channel>
</rss>
