<?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: Can't delete folders of with cifs_homedir.cfg in Network and Storage Protocols</title>
    <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/Can-t-delete-folders-of-with-cifs-homedir-cfg/m-p/6422#M644</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi I would suggest trying out these options&lt;/P&gt;&lt;P&gt;1. cifs terminate for the specific user and try deleting the folder&lt;/P&gt;&lt;P&gt;2. Reload the directory path, if client data loss is acceptable&lt;/P&gt;&lt;P&gt;cifs homedir load -f&lt;/P&gt;&lt;P&gt;3. Check if VSCAN or FPolicy is running on the controller &lt;/P&gt;&lt;P&gt;4. Check any preexisting locks and break the locks if present&lt;/P&gt;&lt;P&gt;lock status -f &amp;lt;file/folder&amp;gt; -p cifs&lt;/P&gt;&lt;P&gt;lock break -f &amp;lt;file/folder&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: Apart from these there is known issues with credential leak that was causing this problem. The problem is fixed and public report can be seen here: &lt;A href="http://support.netapp.com/NOW/cgi-bin/bol?Type=Detail&amp;amp;Display=519891" title="http://support.netapp.com/NOW/cgi-bin/bol?Type=Detail&amp;amp;Display=519891" target="_blank"&gt;http://support.netapp.com/NOW/cgi-bin/bol?Type=Detail&amp;amp;Display=519891&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 06 Oct 2012 11:08:37 GMT</pubDate>
    <dc:creator>snagesh</dc:creator>
    <dc:date>2012-10-06T11:08:37Z</dc:date>
    <item>
      <title>Can't delete folders of with cifs_homedir.cfg</title>
      <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/Can-t-delete-folders-of-with-cifs-homedir-cfg/m-p/6395#M634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we use NetApp built-in CIFS Homedir functionality to share users home directories. It works very well and is more secure than a normal share.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is only on issue: I can't delete &lt;/P&gt;&lt;P&gt;This is our configuration in /etc/cifs_homedir.cfg:&lt;/P&gt;&lt;P&gt;/vol/userhome/DOMAIN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adding a new homedir for a new user is no problem. Just create a directory and give modify permission.&lt;/P&gt;&lt;P&gt;e.g. /vol/userhome/DOMAIN/win-acountname&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I try to remove this dir I almost always get this messages:&lt;/P&gt;&lt;P&gt;rmdir: The process cannot access the file because it is being used by another process.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Explorer: Cannot remove folder win-accountname: It is being used by another program. Close any programs that might be using the file and try again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I verified that there is no file left in this folders and I can't see this folder in "Open Files" from Computer Management.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I already read KB ID: 2010099 and tried &lt;/P&gt;&lt;P&gt;&lt;EM&gt;options cifs.oplocks.enable off&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;but nothing changed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any Ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;F&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 06:28:41 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Network-and-Storage-Protocols/Can-t-delete-folders-of-with-cifs-homedir-cfg/m-p/6395#M634</guid>
      <dc:creator>fschafhauser</dc:creator>
      <dc:date>2025-06-05T06:28:41Z</dc:date>
    </item>
    <item>
      <title>Re: Can't delete folders of with cifs_homedir.cfg</title>
      <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/Can-t-delete-folders-of-with-cifs-homedir-cfg/m-p/6399#M637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;P&gt;Is anyone accessing the dynamic cifs share?  If you are admin from above it should work but if in the user$ share it could be an issue. Cifs sessions shows any access?&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2012 15:43:21 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Network-and-Storage-Protocols/Can-t-delete-folders-of-with-cifs-homedir-cfg/m-p/6399#M637</guid>
      <dc:creator>scottgelb</dc:creator>
      <dc:date>2012-04-25T15:43:21Z</dc:date>
    </item>
    <item>
      <title>Can't delete folders of with cifs_homedir.cfg</title>
      <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/Can-t-delete-folders-of-with-cifs-homedir-cfg/m-p/6404#M640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can't see any access with:&lt;/P&gt;&lt;P&gt;ssh filer &lt;EM&gt;lock status -f |grep account&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;or &lt;/P&gt;&lt;P&gt;ssh filer &lt;EM&gt;cifs sessions |grep account&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The users already left the company and I try to delete the directory from a share for Admins and backup: /vol/userhome &lt;/P&gt;&lt;P&gt;Structure is like this:&lt;/P&gt;&lt;P&gt;/vol/userhome/DOMAIN/win-acountname&lt;/P&gt;&lt;P&gt;DOMAIN is a qtree and the account names are ordinary directories. They was used as dynamic shares but no the users in AD are disabled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2012 07:30:15 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Network-and-Storage-Protocols/Can-t-delete-folders-of-with-cifs-homedir-cfg/m-p/6404#M640</guid>
      <dc:creator>fschafhauser</dc:creator>
      <dc:date>2012-04-26T07:30:15Z</dc:date>
    </item>
    <item>
      <title>Re: Can't delete folders of with cifs_homedir.cfg</title>
      <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/Can-t-delete-folders-of-with-cifs-homedir-cfg/m-p/6409#M641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Finally, have you find a way to delete these folders ? I have exactly the same issue !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2012 10:02:16 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Network-and-Storage-Protocols/Can-t-delete-folders-of-with-cifs-homedir-cfg/m-p/6409#M641</guid>
      <dc:creator>ismail_topuz</dc:creator>
      <dc:date>2012-07-02T10:02:16Z</dc:date>
    </item>
    <item>
      <title>Re: Can't delete folders of with cifs_homedir.cfg</title>
      <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/Can-t-delete-folders-of-with-cifs-homedir-cfg/m-p/6413#M642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Take ownership of the user's folder and replicate it down their folder tree.&amp;nbsp; You will then be able to delete the user's folder.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2012 13:00:16 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Network-and-Storage-Protocols/Can-t-delete-folders-of-with-cifs-homedir-cfg/m-p/6413#M642</guid>
      <dc:creator>hollandwl</dc:creator>
      <dc:date>2012-08-20T13:00:16Z</dc:date>
    </item>
    <item>
      <title>Re: Can't delete folders of with cifs_homedir.cfg</title>
      <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/Can-t-delete-folders-of-with-cifs-homedir-cfg/m-p/6418#M643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I've allready the Admin right with full access, anyway I have take ownership..., same result:&lt;/P&gt;&lt;P&gt;"Cannot remove folder abc : It is being used by another person or program.Close any programs that might be using the file and try again."&lt;/P&gt;&lt;P&gt;Notice that the folder was empty.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Sep 2012 12:40:45 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Network-and-Storage-Protocols/Can-t-delete-folders-of-with-cifs-homedir-cfg/m-p/6418#M643</guid>
      <dc:creator>ismail_topuz</dc:creator>
      <dc:date>2012-09-14T12:40:45Z</dc:date>
    </item>
    <item>
      <title>Re: Can't delete folders of with cifs_homedir.cfg</title>
      <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/Can-t-delete-folders-of-with-cifs-homedir-cfg/m-p/6422#M644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi I would suggest trying out these options&lt;/P&gt;&lt;P&gt;1. cifs terminate for the specific user and try deleting the folder&lt;/P&gt;&lt;P&gt;2. Reload the directory path, if client data loss is acceptable&lt;/P&gt;&lt;P&gt;cifs homedir load -f&lt;/P&gt;&lt;P&gt;3. Check if VSCAN or FPolicy is running on the controller &lt;/P&gt;&lt;P&gt;4. Check any preexisting locks and break the locks if present&lt;/P&gt;&lt;P&gt;lock status -f &amp;lt;file/folder&amp;gt; -p cifs&lt;/P&gt;&lt;P&gt;lock break -f &amp;lt;file/folder&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: Apart from these there is known issues with credential leak that was causing this problem. The problem is fixed and public report can be seen here: &lt;A href="http://support.netapp.com/NOW/cgi-bin/bol?Type=Detail&amp;amp;Display=519891" title="http://support.netapp.com/NOW/cgi-bin/bol?Type=Detail&amp;amp;Display=519891" target="_blank"&gt;http://support.netapp.com/NOW/cgi-bin/bol?Type=Detail&amp;amp;Display=519891&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Oct 2012 11:08:37 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Network-and-Storage-Protocols/Can-t-delete-folders-of-with-cifs-homedir-cfg/m-p/6422#M644</guid>
      <dc:creator>snagesh</dc:creator>
      <dc:date>2012-10-06T11:08:37Z</dc:date>
    </item>
    <item>
      <title>Re: Can't delete folders of with cifs_homedir.cfg</title>
      <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/Can-t-delete-folders-of-with-cifs-homedir-cfg/m-p/6426#M645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what about you just go in through NFS and delete that user's directory?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Oct 2012 17:47:46 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Network-and-Storage-Protocols/Can-t-delete-folders-of-with-cifs-homedir-cfg/m-p/6426#M645</guid>
      <dc:creator>bing</dc:creator>
      <dc:date>2012-10-10T17:47:46Z</dc:date>
    </item>
  </channel>
</rss>

