<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Binary War &#187; Security</title>
	<atom:link href="http://www.binarywar.com/category/security/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.binarywar.com</link>
	<description>My KB.  If it helps someone else who is searching for answers...great!</description>
	<lastBuildDate>Thu, 05 Aug 2010 20:21:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>NTFS Security Not Transferred When Copying Files</title>
		<link>http://www.binarywar.com/2009/10/ntfs-security-not-transferred-when-copying-files/</link>
		<comments>http://www.binarywar.com/2009/10/ntfs-security-not-transferred-when-copying-files/#comments</comments>
		<pubDate>Wed, 28 Oct 2009 02:54:02 +0000</pubDate>
		<dc:creator>Aaron</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[Server 2000]]></category>
		<category><![CDATA[Server 2003]]></category>
		<category><![CDATA[Server 2008]]></category>
		<category><![CDATA[Windows Server]]></category>

		<guid isPermaLink="false">http://www.binarywar.com/2009/10/ntfs-security-not-transferred-when-copying-files/</guid>
		<description><![CDATA[When copying files from one server to another, the NTFS security ACLs on them are not transferred, and the files inherit the permissions of the destination folder.&#160; If the permissions are simple, and set at just one level at the top of the folder hierarchy, it&#8217;s not a big deal to just set them again [...]]]></description>
			<content:encoded><![CDATA[<p style="vertical-align: middle;">When copying files from one server to another, the NTFS security ACLs on them are not transferred, and the files inherit the permissions of the destination folder.&nbsp; If the permissions are simple, and set at just one level at the top of the folder hierarchy, it&#8217;s not a big deal to just set them again manually.&nbsp; But if you have multiple folder levels of settings that may or may not be the same, or if you have particularly sensitive data and you want to be sure the security of that data is maintained, here is what you can do.</p>
<p style="vertical-align: middle;">
<p class="MsoListParagraph" style=""><span style="">1.<span style="font: 7.0pt Times New Roman;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span>&nbsp;Transfer the files over using whatever file copy utility you like.&nbsp; I like <a href="http://technet.microsoft.com/en-us/magazine/2009.04.utilityspotlight.aspx?pr=blog">RichCopy</a>, which is just a nice, GUI front-end to robocopy.</p>
<p style="margin-left: .25in; vertical-align: middle;">
<p class="MsoListParagraph" style=""><span style="">2.<span style="font: 7.0pt Times New Roman;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span>Even though you have avoided using the command-line for the transfer itself, you are still going to have to use it now to get the file/folder security settings moved over.&nbsp; For each folder that you transferred using Richcopy, run the following command from the source server:</p>
<p class="MsoListParagraph">
<p class="MsoListParagraph" style="vertical-align: middle;">robocopy &quot;X:\sharedfolder&quot; &quot;\\servername\newshare&quot;&nbsp; /E /COPYALL /SEC /XC /XN /XO /R:1 /W:0</p>
<p class="MsoListParagraph" style="vertical-align: middle;">
<p class="MsoListParagraph" style="vertical-align: middle;">The &quot;/xc /xn /xo&quot; part of the command excludes files from being copied over again.&nbsp; The &#8220;/E /COPYALL /SEC&#8221; switches actually re-sync all the security settings for all the files/folders, so they end up matching the security that is set on the source.</p>
<p class="MsoListParagraph" style="vertical-align: middle;">
<p class="MsoListParagraph" style="vertical-align: middle;">(Robocopy is part of the <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=9d467a69-57ff-4ae7-96ee-b18c4790cffd&amp;displaylang=en">Server 2003 Resource Kit</a>)</p>
<p style="font-size: 10px;">  <a href="http://posterous.com">Posted via email</a>   from <a href="http://aaronjohnstone.com/ntfs-security-not-transferred-when-copying-fi">Aaron Johnstone</a>  </p>
<p><a href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fwww.binarywar.com%2F2009%2F10%2Fntfs-security-not-transferred-when-copying-files%2F&amp;linkname=NTFS%20Security%20Not%20Transferred%20When%20Copying%20Files" title="Twitter" rel="nofollow" target="_blank"><img src="http://www.binarywar.com/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Fwww.binarywar.com%2F2009%2F10%2Fntfs-security-not-transferred-when-copying-files%2F&amp;linkname=NTFS%20Security%20Not%20Transferred%20When%20Copying%20Files" title="Facebook" rel="nofollow" target="_blank"><img src="http://www.binarywar.com/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a> <a href="http://www.addtoany.com/add_to/evernote?linkurl=http%3A%2F%2Fwww.binarywar.com%2F2009%2F10%2Fntfs-security-not-transferred-when-copying-files%2F&amp;linkname=NTFS%20Security%20Not%20Transferred%20When%20Copying%20Files" title="Evernote" rel="nofollow" target="_blank"><img src="http://www.binarywar.com/wp-content/plugins/add-to-any/icons/evernote.png" width="16" height="16" alt="Evernote"/></a> <a href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Fwww.binarywar.com%2F2009%2F10%2Fntfs-security-not-transferred-when-copying-files%2F&amp;linkname=NTFS%20Security%20Not%20Transferred%20When%20Copying%20Files" title="Digg" rel="nofollow" target="_blank"><img src="http://www.binarywar.com/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a> <a href="http://www.addtoany.com/add_to/stumbleupon?linkurl=http%3A%2F%2Fwww.binarywar.com%2F2009%2F10%2Fntfs-security-not-transferred-when-copying-files%2F&amp;linkname=NTFS%20Security%20Not%20Transferred%20When%20Copying%20Files" title="StumbleUpon" rel="nofollow" target="_blank"><img src="http://www.binarywar.com/wp-content/plugins/add-to-any/icons/stumbleupon.png" width="16" height="16" alt="StumbleUpon"/></a> <a href="http://www.addtoany.com/add_to/instapaper?linkurl=http%3A%2F%2Fwww.binarywar.com%2F2009%2F10%2Fntfs-security-not-transferred-when-copying-files%2F&amp;linkname=NTFS%20Security%20Not%20Transferred%20When%20Copying%20Files" title="Instapaper" rel="nofollow" target="_blank"><img src="http://www.binarywar.com/wp-content/plugins/add-to-any/icons/instapaper.png" width="16" height="16" alt="Instapaper"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.binarywar.com%2F2009%2F10%2Fntfs-security-not-transferred-when-copying-files%2F&amp;linkname=NTFS%20Security%20Not%20Transferred%20When%20Copying%20Files"><img src="http://www.binarywar.com/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.binarywar.com/2009/10/ntfs-security-not-transferred-when-copying-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
