{"id":7989,"date":"2018-12-10T13:08:34","date_gmt":"2018-12-10T12:08:34","guid":{"rendered":"http:\/\/159.69.82.204\/win\/?p=7989"},"modified":"2024-10-03T00:32:44","modified_gmt":"2024-10-02T22:32:44","slug":"ntfs-permission-removed-when-deleting-a-subfolder","status":"publish","type":"post","link":"https:\/\/borncity.com\/win\/2018\/12\/10\/ntfs-permission-removed-when-deleting-a-subfolder\/","title":{"rendered":"NTFS permission removed when deleting a subfolder"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" style=\"float: left; margin: 0px 10px 0px 0px; display: inline\" src=\"http:\/\/www.borncity.com\/blog\/wp-content\/uploads\/2013\/03\/winb.jpg\" width=\"58\" align=\"left\" height=\"58\">[<a href=\"https:\/\/www.borncity.com\/blog\/2018\/12\/10\/windows-bugs-ungereimtheiten-im-dateisystem\/\" target=\"_blank\" rel=\"noopener\">German<\/a>]It seems there is a strange issue within Windows Server 2016 and Windows Server 2019. Sometimes NTFS permissions are getting removed for a parent folder, if a subfolder is deleted. <\/p>\n<p><!--more--><\/p>\n<p>German blog reader Robert R. informed me about this issue, that has been observed on Windows Server 2016 and Windows Server 2019. The issue has been discussed at <a href=\"https:\/\/web.archive.org\/web\/20190809194804\/https:\/\/social.technet.microsoft.com\/Forums\/en-US\/cbd452c6-c42d-494d-9caf-3c723c8ab468\/ntfs-permission-removed-when-deleting-a-subfolder?forum=winserverfiles\" target=\"_blank\" rel=\"noopener\">this Technet forum thread<\/a>: <\/p>\n<blockquote>\n<h3>NTFS permission removed when deleting a subfolder<\/h3>\n<p>I do have a very strange issue with my file server. Let me first describe the infrastructure.  <\/p>\n<p>OS: Windows Server 2016<br \/>Roles: File and Storage Services<br \/>Type: Member of a 2016 Domain  <\/p>\n<p>On the file server I do have to following structure\/permission:  <\/p>\n<ul>\n<li>F:\\\n<ul>\n<li>ANWDTest\n<ul>\n<li>ZZZ\n<ul>\n<li>DIMS\n<li>Wagenbuch<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>The NTFS permissions to those folders is like that:  <\/p>\n<ul>\n<li><strong>ANWDTest<\/strong><br \/>Inheritance disabled<br \/>CREATOR OWNER &#8211; Full control &#8211; Subfolders and files only<br \/>SYSTEM &#8211; Full control &#8211; This folder, subfolders and files<br \/>Administrators &#8211; Full control &#8211; This folder, subfolders and files<br \/>L_NTFS_J_R &#8211; Read &amp; execute &#8211; This folder only\n<li><strong>ZZZ<\/strong><br \/>Inheritance enabled<br \/>L_NTFS_J_ZZZ_R &#8211; Read &amp; execute &#8211; This folder only\n<li><strong>DIMS<\/strong><br \/>Inheritance enabled<br \/>L_NTFS_J_ZZZ_DIMS_R &#8211; Read &amp; execute &#8211; This folder, subfolders and files<br \/>L_NTFS_J_ZZZ_DIMS_W &#8211; Modify &#8211; This folder, subfolders and files<br \/><strong><\/strong>\n<li><strong>Wagenbuch<\/strong><br \/>Inheritance enabled<br \/>L_NTFS_J_ZZZ_Wagenbuch_R &#8211; Read &amp; execute &#8211; This folder, subfolders and files<br \/>L_NTFS_J_ZZZ_Wagenbuch_W &#8211; Modify &#8211; This folder, subfolders and files<\/li>\n<\/ul>\n<p>So far I think this is nothing special, now here is my issue:  <\/p>\n<p>When I delete the \"Wagenbuch\" or the \"DIMS\" folder this does remove the group \"L_NTFS_J_ZZZ_R\" from the \"ZZZ\" folder AND does remove the group \"L_NTFS_J_R\" from the \"ANWDTest\" folder&#8230; and I do have absolutly no idea why this is happening.  <\/p>\n<p>Does anyone see an error in the setup or did face similar issues? I am totally lost here, even no idea where to start searching.. Google did also not help at all.<\/p>\n<\/blockquote>\n<p>The affected user has published <a href=\"https:\/\/streamable.com\/2ij20\" target=\"_blank\" rel=\"noopener\">a video<\/a> demonstrating this issue. Here is a 2nd Technet forum thread discussing this issue. And at <a href=\"https:\/\/www.reddit.com\/r\/sysadmin\/comments\/8d6uit\/a_situation_in_which_server_2016_will_remove_ntfs\/\" target=\"_blank\" rel=\"noopener\">reddit.com is also a thread<\/a> with a broader explanation. After I've published the German article, I also received feedback from a user, that one of several Windows Server 2016 shows this behavior. The thread poster wrote, that Microsoft has confirmed this issue and is working on a fix. BTW: Update KB4467684 won't fix it. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>[German]It seems there is a strange issue within Windows Server 2016 and Windows Server 2019. Sometimes NTFS permissions are getting removed for a parent folder, if a subfolder is deleted.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[483,1498],"class_list":["post-7989","post","type-post","status-publish","format-standard","hentry","category-windows","tag-windows-server-2016","tag-windows-server-2019"],"_links":{"self":[{"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/posts\/7989","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/comments?post=7989"}],"version-history":[{"count":2,"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/posts\/7989\/revisions"}],"predecessor-version":[{"id":35343,"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/posts\/7989\/revisions\/35343"}],"wp:attachment":[{"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/media?parent=7989"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/categories?post=7989"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/tags?post=7989"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}