<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Guest Post: The Case of the FrontPage Error</title><link>http://blogs.technet.com/markrussinovich/archive/2008/05/14/3054820.aspx</link><description>Welcome to the first guest "Case Of" blog post! I've received numerous great troubleshooting cases over the last two months and have selected this one, submitted by Troy Wolbrink, a corporate web master, as the first to share with you. Troy ran into a</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: Guest Post: The Case of the FrontPage Error</title><link>http://blogs.technet.com/markrussinovich/archive/2008/05/14/3054820.aspx#3055194</link><pubDate>Wed, 14 May 2008 20:48:14 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3055194</guid><dc:creator>Erwin Ried</dc:creator><description>&lt;p&gt;Cool, and better for Tony if the prize was a signed book!&lt;/p&gt;
&lt;p&gt;Just a little typo: &amp;quot;from the parent to _propoage_&amp;quot;&lt;/p&gt;</description></item><item><title>re: Guest Post: The Case of the FrontPage Error</title><link>http://blogs.technet.com/markrussinovich/archive/2008/05/14/3054820.aspx#3055201</link><pubDate>Wed, 14 May 2008 20:53:11 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3055201</guid><dc:creator>markrussinovich</dc:creator><description>&lt;p&gt;Thanks for the feedback and the correction, Erwin.&lt;/p&gt;
</description></item><item><title>re: Guest Post: The Case of the FrontPage Error</title><link>http://blogs.technet.com/markrussinovich/archive/2008/05/14/3054820.aspx#3055202</link><pubDate>Wed, 14 May 2008 20:53:36 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3055202</guid><dc:creator>markrussinovich</dc:creator><description>&lt;p&gt;Tony did get a signed book (I indicate that in the introduction). &lt;/p&gt;
&lt;p&gt;Thanks for the feedback and the correction, Erwin.&lt;/p&gt;
</description></item><item><title>re: Guest Post: The Case of the FrontPage Error</title><link>http://blogs.technet.com/markrussinovich/archive/2008/05/14/3054820.aspx#3055341</link><pubDate>Thu, 15 May 2008 02:20:49 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3055341</guid><dc:creator>wmcglinn</dc:creator><description>&lt;p&gt;G'day Mark,&lt;/p&gt;
&lt;p&gt;just one small correction: &amp;quot;When you “Move” a file using Windows Explorer, the file permissions are moved with it. &amp;nbsp;When you “Copy” a file using Windows Explorer, it creates a new file that inherits permissions from the target folder.&amp;quot; This is only true when moving files that reside on the same volume (or partition), moving *between* NTFS volumes inherit permissions. A small correction but very crucial to understanding how NTFS permissions differ when moving and copying within or between volumes.&lt;/p&gt;
&lt;p&gt;Wayne McGlinn&lt;/p&gt;
&lt;p&gt;Brisbane, Oz&lt;/p&gt;</description></item><item><title>re: Guest Post: The Case of the FrontPage Error</title><link>http://blogs.technet.com/markrussinovich/archive/2008/05/14/3054820.aspx#3055344</link><pubDate>Thu, 15 May 2008 02:34:35 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3055344</guid><dc:creator>Joel Peterson</dc:creator><description>&lt;p&gt;The following line set off an exchange in our internal developer email list:&lt;/p&gt;
&lt;p&gt;&amp;quot;When you “Move” a file using Windows Explorer, the file permissions are moved with it. &amp;nbsp;When you “Copy” a file using Windows Explorer, it creates a new file that inherits permissions from the target folder.&amp;quot;&lt;/p&gt;
&lt;p&gt;I immediately tried to reproduce this behavior on Windows Vista x64 SP1. I created a folder (c:\temp) with very unique permissions. I used right-click and drag-copied from my desktop to the c:\temp folder window and it did inherit the permissions. However, when I used right-click and drag-moved the same file to to the folder, it also inherited the permissions of the folder. This is at odds with the behavior described by Tony.&lt;/p&gt;
&lt;p&gt;I then proceeded to make a very simple C# sample (.NET 3.5) to do the same thing, as a developer asked if the behavior described by the guest was the same for MoveFile() and CopyFile():&lt;/p&gt;
&lt;p&gt;File.Copy(&amp;quot;C:\\Users\\jpeterson\\Desktop\\error.txt&amp;quot;, &amp;quot;C:\\Users\\jpeterson\\Desktop\\error2.txt&amp;quot;);&lt;/p&gt;
&lt;p&gt;File.Copy(&amp;quot;C:\\Users\\jpeterson\\Desktop\\error2.txt&amp;quot;, &amp;quot;C:\\temp\\copied.txt&amp;quot;);&lt;/p&gt;
&lt;p&gt;File.Move(&amp;quot;C:\\Users\\jpeterson\\Desktop\\error2.txt&amp;quot;, &amp;quot;C:\\temp\\moved.txt&amp;quot;);&lt;/p&gt;
&lt;p&gt;This sample did reproduce the behavior described by Tony. The file copied.txt did inherit the folder’s permissions, but the file moved.txt kept its original permissions from my Desktop folder.&lt;/p&gt;
&lt;p&gt;That didn't make any sense, so I went back and read this blog post and thought about the interpretation of &amp;quot;Windows Explorer&amp;quot;. I then used the true-blue Windows Explorer (Windows Key + E) and only moved the file within that window from my Desktop folder to c:\temp. It exhibited the behavior described by Tony and did not inherit the permissions of the folder. Likewise, copying the file only through the Windows Explorer window resulted in the file inheriting the folder's permissions.&lt;/p&gt;
&lt;p&gt;So what's going on here? Did the behavior in the Windows shell change at some point? Or are we looking at a bug? Is there a spec for the expected behavior for each scenario, and have these behaviors changed with different releases of Windows (RTMs and Service Packs)?&lt;/p&gt;</description></item><item><title>re: Guest Post: The Case of the FrontPage Error</title><link>http://blogs.technet.com/markrussinovich/archive/2008/05/14/3054820.aspx#3055355</link><pubDate>Thu, 15 May 2008 02:58:59 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3055355</guid><dc:creator>markrussinovich</dc:creator><description>&lt;p&gt;Hi Wayne,&lt;/p&gt;
&lt;p&gt;That's not really a correction, but a clarification. I've modified Tory's text to note that he moved the file within the same volume.&lt;/p&gt;
&lt;p&gt;-Mark&lt;/p&gt;
</description></item><item><title>re: Guest Post: The Case of the FrontPage Error</title><link>http://blogs.technet.com/markrussinovich/archive/2008/05/14/3054820.aspx#3055387</link><pubDate>Thu, 15 May 2008 05:17:53 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3055387</guid><dc:creator>Ali</dc:creator><description>&lt;p&gt;Joel Peterson,&lt;/p&gt;
&lt;p&gt;I think &amp;quot;Desktop&amp;quot; file is different,i reproed your saying.&lt;/p&gt;</description></item><item><title>re: Guest Post: The Case of the FrontPage Error</title><link>http://blogs.technet.com/markrussinovich/archive/2008/05/14/3054820.aspx#3055603</link><pubDate>Thu, 15 May 2008 14:42:55 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3055603</guid><dc:creator>WDoser</dc:creator><description>&lt;p&gt;Joel, there is an KB article about the not inherited permissions when moving folders on NTFS Partitions:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://support.microsoft.com/kb/320246/en-us/"&gt;http://support.microsoft.com/kb/320246/en-us/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;It also states that this behaviour has changed in Vista and Windows 2008.&lt;/p&gt;
&lt;p&gt;This sometimes also happens on Win2000/2003 fileservers when Users are moving folders on the same share. To prevent problems I'm using Mark's AccessEnum to make regular checks for permissions that are not inherited correctly within the shares.&lt;/p&gt;
&lt;p&gt;Mark, thank you very much for your tools. :)&lt;/p&gt;</description></item><item><title>re: Guest Post: The Case of the FrontPage Error</title><link>http://blogs.technet.com/markrussinovich/archive/2008/05/14/3054820.aspx#3055832</link><pubDate>Thu, 15 May 2008 22:24:11 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3055832</guid><dc:creator>S. Mahdi Veradi</dc:creator><description>&lt;p&gt;I think the matter of permissions and their intricacies needs to be clarified a bit. Here is what I have learned:&lt;/p&gt;
&lt;p&gt;As mentioned above, Windows API, by default, retains all of the file and folder permissions when you move them from one parent folder to another parent folder on the same NTFS volume. For copy operation and move operations to another volume, the destination file always have a new set of permissions, all inherited from its parents.&lt;/p&gt;
&lt;p&gt;The reason is obvious to a developer: When you move a file within a volume, no physical data transfer seems to occur; Apparently, Windows only changes the volume Master File Table so that the intended files and folders belong to a new directory entry. This means that Access Control Lists (ACLs) remain unaltered, so even if your Access Control Entries are acquired from a parent. Now, it is arguable whether or not the inherited permissions should be updated with the new parent or not, and whether there is a bug here or not.&lt;/p&gt;
&lt;p&gt;However, during a copy operation, or a move operation to another volume, a physical data transfer from one location of the hard disk to another is inevitable. Therefore, Windows API has to build a new ACL for each file and folder entry. These new entries turn out to have permissions inherited from parent.&lt;/p&gt;
&lt;p&gt;As demonstrated by Joel Peterson, .NET Framework has the same behavior as Windows API.&lt;/p&gt;
&lt;p&gt;Windows Explorer (Windows Shell) tends to deviate from this behavior. According to Microsoft Knowledge Base:&lt;/p&gt;
&lt;p&gt;1. On Windows XP, when Simple File Sharing is enabled (default), Windows Explorer always makes sure that all ACLs are reset. This an intended feature that makes using Standard User Accounts in homes and small-business environments more convenient. Note that this only applies to Windows Explorer and Windows Shell, so file operation behavior of programs like Command Prompt are not affected by Simple File Sharing setting.&lt;/p&gt;
&lt;p&gt;2. Windows XP, when Simple File Sharing is disabled (domain default) and on Windows Server 2003, Windows Explorer does not alter file and folder permission. This is meant to be an intended defense-in-depth security feature.&lt;/p&gt;
&lt;p&gt;So far I don't know the exact behavior of Windows Vista and Windows Server 2008. The KB article which WDoser introduced indicates that Windows now updates ACEs which are inherited from parent but does not explain whether it is a Windows API behavior or only a Windows Shell behavior. To make matter worse, the Applies To section says this article is applied to all editions of Windows Server 2008 but not Windows Vista. (I think it's time I investigate this matter a bit more.)&lt;/p&gt;
&lt;p&gt;Unfortunately, the example posted by Joel Peterson also does not help clarify matter with these two new versions of Windows, since it is in C# and therefore uses .NET Framework not Windows API. .NET Framework is supposed to have the same behavior on all versions of Windows; unless otherwise documented in its documentations.&lt;/p&gt;
&lt;p&gt;- S. Mahdi Veradi (MCP)&lt;/p&gt;</description></item><item><title>re: Guest Post: The Case of the FrontPage Error</title><link>http://blogs.technet.com/markrussinovich/archive/2008/05/14/3054820.aspx#3056811</link><pubDate>Sat, 17 May 2008 19:26:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3056811</guid><dc:creator>Chris Hutchcroft</dc:creator><description>&lt;p&gt;This move problem for site content is not limited to FrontPage, I find it's a common problem when moving any site content. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;I get a lot of sites come as installers that install to C:\Program Files\blah\ and don't offer an option to set that folder nor set permissions correctly. &amp;nbsp;When moving to the managed site content folder (C:\Inetpub\ or C:\Sites\ or whatever), weird things happen.&lt;/p&gt;
&lt;p&gt;90% of these weird things are because the content was moved, not copied. &amp;nbsp;This is now our first step in troubleshooting. &amp;nbsp;Our second step as always is Process Monitor.&lt;/p&gt;
&lt;p&gt;Pre-emptive rebuttal - this isn't an issue of your content is on a different volume following best practices, if you move from C:\blah to E:\Sites the move is a copy.&lt;/p&gt;</description></item><item><title>re: Guest Post: The Case of the FrontPage Error</title><link>http://blogs.technet.com/markrussinovich/archive/2008/05/14/3054820.aspx#3057347</link><pubDate>Mon, 19 May 2008 17:54:56 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3057347</guid><dc:creator>stryqx</dc:creator><description>&lt;p&gt;Nice piece if sleuthing.&lt;/p&gt;
&lt;p&gt;Although the error message is still an indication of just how bad software developers are at writing meaningful error handling code.&lt;/p&gt;
&lt;p&gt;It's still insane how we have to instantly dive down to the bottom layer to solve these simple problems.&lt;/p&gt;
&lt;p&gt;And don't even get me started in the bubbling up of a 32-bit error number to the end user...&lt;/p&gt;</description></item><item><title>You need to post more often</title><link>http://blogs.technet.com/markrussinovich/archive/2008/05/14/3054820.aspx#3057405</link><pubDate>Mon, 19 May 2008 20:06:06 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3057405</guid><dc:creator>David</dc:creator><description>&lt;p&gt;I'm still waiting for the &amp;quot;Case of the mysterious idle 12:10am Vista csrss related disk activity that lasts 20 minutes and doesn't show up in procmon even with filters turned off and isn't defrag, system restore, indexing, windows update, superfetch, thumbnail cache updates, trustedinstaller, swap usage, or the drive's idle self test.&amp;quot;&lt;/p&gt;</description></item><item><title>re: Guest Post: The Case of the FrontPage Error</title><link>http://blogs.technet.com/markrussinovich/archive/2008/05/14/3054820.aspx#3057415</link><pubDate>Mon, 19 May 2008 20:42:30 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3057415</guid><dc:creator>Joel Peterson</dc:creator><description>&lt;p&gt;Apologies to Troy for reading too fast and using the wrong name in my post.&lt;/p&gt;
&lt;p&gt;I'd still like to get some clarification why the behavior is different between right-click plus drag-move from the Desktop to a folder versus right-click plus drag-move from within a single Windows Explorer window.&lt;/p&gt;</description></item><item><title>re: Guest Post: The Case of the FrontPage Error</title><link>http://blogs.technet.com/markrussinovich/archive/2008/05/14/3054820.aspx#3060388</link><pubDate>Sat, 24 May 2008 11:52:28 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3060388</guid><dc:creator>Grammar maniac</dc:creator><description>&lt;p&gt;&amp;quot;I wasn’t feeling motivated to become a FPSE expert just to solve this one problem.&amp;quot;&lt;/p&gt;
&lt;p&gt;should read&lt;/p&gt;
&lt;p&gt;&amp;quot;I wasn’t feeling motivated to become an FPSE expert just to solve this one problem.&amp;quot;&lt;/p&gt;</description></item><item><title>Not so fast...</title><link>http://blogs.technet.com/markrussinovich/archive/2008/05/14/3054820.aspx#3060964</link><pubDate>Mon, 26 May 2008 01:42:26 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3060964</guid><dc:creator>Roastbeef</dc:creator><description>&lt;p&gt;Grammar maniac,&lt;/p&gt;
&lt;p&gt;If you consult your Chicago manual (or similar) you'll find that the criteria picking 'a' versus 'an' depends on how the phrase *sounds*, not the simple (but incorrect) idea of looking at whether the word begins with a consonant or a vowel.&lt;/p&gt;
&lt;p&gt;If 'FPSE' is pronounced as &amp;quot;eff-pee-ess-eee&amp;quot;, then using 'an' would be correct.&lt;/p&gt;</description></item><item><title>re: Guest Post: The Case of the FrontPage Error</title><link>http://blogs.technet.com/markrussinovich/archive/2008/05/14/3054820.aspx#3061322</link><pubDate>Mon, 26 May 2008 21:11:32 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3061322</guid><dc:creator>tOM Trottier</dc:creator><description>&lt;p&gt;Since copy resets the permissions, it looks like you just need to move files to a new folder then delete the original folder and rename the new folder.&lt;/p&gt;
&lt;p&gt;Managing permissions is like herding snakes...&lt;/p&gt;
&lt;p&gt;tOM&lt;/p&gt;</description></item><item><title>re: Guest Post: The Case of the FrontPage Error</title><link>http://blogs.technet.com/markrussinovich/archive/2008/05/14/3054820.aspx#3061385</link><pubDate>Tue, 27 May 2008 01:29:52 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3061385</guid><dc:creator>romeo</dc:creator><description>&lt;p&gt;thank God we have this kind of environment of bloggers. Im &amp;nbsp;new to this and i hope i can contribute some idea that can help beginners and computer systems enthusist like me. More power to bloggers. And also you can create for auto repair bloggers. Thank you very much. romoe&lt;/p&gt;</description></item><item><title>re: Guest Post: The Case of the FrontPage Error</title><link>http://blogs.technet.com/markrussinovich/archive/2008/05/14/3054820.aspx#3061838</link><pubDate>Wed, 28 May 2008 00:38:47 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3061838</guid><dc:creator>Quitch</dc:creator><description>&lt;p&gt;The blog says to keep submitting your troubleshooting cases along with screenshots and log files... but there's no address, and the e-mail page doesn't allow for attachments.&lt;/p&gt;
&lt;p&gt;I'm sure it's an open secret to regulars, but might be worth mentioning for those not in the know ;)&lt;/p&gt;</description></item><item><title>re: Guest Post: The Case of the FrontPage Error</title><link>http://blogs.technet.com/markrussinovich/archive/2008/05/14/3054820.aspx#3063418</link><pubDate>Fri, 30 May 2008 12:25:02 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3063418</guid><dc:creator>RAWNet</dc:creator><description>&lt;p&gt;Hi All, I am just wondering where the anonymous account gets added in this example, as in the sample images I see no addition of the IUSR_XXXX account (which I assume would need write permissions to create the log file) before forcing inheritance - or am i missing something obvious?&lt;/p&gt;</description></item><item><title>re: Guest Post: The Case of the FrontPage Error</title><link>http://blogs.technet.com/markrussinovich/archive/2008/05/14/3054820.aspx#3273952</link><pubDate>Sun, 16 Aug 2009 18:50:22 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3273952</guid><dc:creator>Stefan</dc:creator><description>&lt;p&gt;Excellent instructions. I tested the Process Monitor and it solved my problem of missing security settings!&lt;/p&gt;</description></item></channel></rss>