<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Files become inaccessible when marked as offline on Netapp CIFS shares. in Network and Storage Protocols</title>
    <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/Files-become-inaccessible-when-marked-as-offline-on-Netapp-CIFS-shares/m-p/122439#M8497</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please check the junction path. Also refer Microsoft article &lt;A href="https://support.microsoft.com/de-de/kb/2512089" target="_self"&gt;Offline File Synchronization&lt;/A&gt;.&lt;/P&gt;</description>
    <pubDate>Fri, 19 Aug 2016 09:17:31 GMT</pubDate>
    <dc:creator>Sahana</dc:creator>
    <dc:date>2016-08-19T09:17:31Z</dc:date>
    <item>
      <title>Files become inaccessible when marked as offline on Netapp CIFS shares.</title>
      <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/Files-become-inaccessible-when-marked-as-offline-on-Netapp-CIFS-shares/m-p/122003#M8480</link>
      <description>&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;STRONG&gt;Has anyone seen this issue? Setting offline flag on a file over CIFS makes it unaccessible. We reied this on 8.2.2 7-mode and 8.3.1 cluster mode.&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;STRONG&gt;Description&lt;/STRONG&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Setting the offline flag on a file in a Netapp CIFS share corrupts the file's NTFS security (ACLs and owner), rendering that file inaccessible to all users. If you then manually try to change the owner or add ACLs on this file, you get an “Access denied” error.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;STRONG&gt;Repro steps&lt;/STRONG&gt;:&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;On any Windows desktop,&lt;/SPAN&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN class="s1"&gt;Map a Netapp CIFS share.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class="s1"&gt;Create a file in this share.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class="s1"&gt;Verify that it has valid ACLs and owner.&lt;/SPAN&gt;&lt;/LI&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN class="s1"&gt;Right click on the file and select Properties.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class="s1"&gt;Go to the ‘Security’ tab and click on Advanced.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class="s1"&gt;Verify that the owner and permission entries are valid.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;LI&gt;&lt;SPAN class="s1"&gt;Open Powershell and run the following commands:&lt;/SPAN&gt;&lt;/LI&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN class="s1"&gt;$file = Get-Item &amp;lt;File-Path&amp;gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN class="s1"&gt;Use the full network path for &amp;lt;File-Path&amp;gt;.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;LI&gt;&lt;SPAN class="s1"&gt;$file.Attributes = $file.Attributes -bor [System.IO.FileAttributes]::Offline&lt;/SPAN&gt;&lt;/LI&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN class="s1"&gt;This sets the offline flag on the file. You should see a grey ‘X’ on the file’s icon, indicating that it’s an offline file.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class="s1"&gt;Run $file.Attributes to confirm if Offline attribute is set.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;LI&gt;&lt;SPAN class="s1"&gt;Try opening the file.&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN class="s1"&gt;You will get an ‘Access denied’ error.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;LI&gt;&lt;SPAN class="s1"&gt;Now check the permission entries and owner of this file.&lt;/SPAN&gt;&lt;/LI&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN class="s1"&gt;Permission entries list will be empty and you’ll see ‘Unable to display owner’ for the owner.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;LI&gt;&lt;SPAN class="s1"&gt;Try changing the owner or adding a permission entry.&lt;/SPAN&gt;&lt;/LI&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN class="s1"&gt;You will get an ‘Access denied’ error.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/OL&gt;</description>
      <pubDate>Wed, 04 Jun 2025 19:40:24 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Network-and-Storage-Protocols/Files-become-inaccessible-when-marked-as-offline-on-Netapp-CIFS-shares/m-p/122003#M8480</guid>
      <dc:creator>MohitD</dc:creator>
      <dc:date>2025-06-04T19:40:24Z</dc:date>
    </item>
    <item>
      <title>Re: Files become inaccessible when marked as offline on Netapp CIFS shares.</title>
      <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/Files-become-inaccessible-when-marked-as-offline-on-Netapp-CIFS-shares/m-p/122439#M8497</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please check the junction path. Also refer Microsoft article &lt;A href="https://support.microsoft.com/de-de/kb/2512089" target="_self"&gt;Offline File Synchronization&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Aug 2016 09:17:31 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Network-and-Storage-Protocols/Files-become-inaccessible-when-marked-as-offline-on-Netapp-CIFS-shares/m-p/122439#M8497</guid>
      <dc:creator>Sahana</dc:creator>
      <dc:date>2016-08-19T09:17:31Z</dc:date>
    </item>
  </channel>
</rss>

