<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: rm -rf on Solaris ZFS filesystem doesn&#8217;t remove directories</title>
	<atom:link href="http://probably.co.uk/rm-rf-on-solaris-zfs-filesystem-doesnt-remove-directories.html/feed" rel="self" type="application/rss+xml" />
	<link>http://probably.co.uk/rm-rf-on-solaris-zfs-filesystem-doesnt-remove-directories.html</link>
	<description>Linux, Solaris, Puppet, Perl and more. Probably.</description>
	<lastBuildDate>Tue, 24 Apr 2012 07:08:53 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Mark</title>
		<link>http://probably.co.uk/rm-rf-on-solaris-zfs-filesystem-doesnt-remove-directories.html/comment-page-1#comment-3862</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Wed, 28 Apr 2010 15:54:38 +0000</pubDate>
		<guid isPermaLink="false">http://probably.co.uk/?p=78#comment-3862</guid>
		<description>Ace, glad my post was of use Paul. It&#039;s a slightly annoying bug actually, one I wish Sun [Oracle] would address!</description>
		<content:encoded><![CDATA[<p>Ace, glad my post was of use Paul. It&#8217;s a slightly annoying bug actually, one I wish Sun [Oracle] would address!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: paul ferroni</title>
		<link>http://probably.co.uk/rm-rf-on-solaris-zfs-filesystem-doesnt-remove-directories.html/comment-page-1#comment-3861</link>
		<dc:creator>paul ferroni</dc:creator>
		<pubDate>Wed, 28 Apr 2010 15:36:02 +0000</pubDate>
		<guid isPermaLink="false">http://probably.co.uk/?p=78#comment-3861</guid>
		<description>We had similar situation.  Root&#039;s umask was set to 027 so that when ZFS auto-created mount dirs, they were set 750.   Exported, fixed the perms, re-imported and now we&#039;re good.  Thanks for the tip!

...and set root&#039;s umask to 022</description>
		<content:encoded><![CDATA[<p>We had similar situation.  Root&#8217;s umask was set to 027 so that when ZFS auto-created mount dirs, they were set 750.   Exported, fixed the perms, re-imported and now we&#8217;re good.  Thanks for the tip!</p>
<p>&#8230;and set root&#8217;s umask to 022</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Corry</title>
		<link>http://probably.co.uk/rm-rf-on-solaris-zfs-filesystem-doesnt-remove-directories.html/comment-page-1#comment-2760</link>
		<dc:creator>Corry</dc:creator>
		<pubDate>Wed, 20 Jan 2010 22:55:18 +0000</pubDate>
		<guid isPermaLink="false">http://probably.co.uk/?p=78#comment-2760</guid>
		<description>Here is your answer!!!
If you are mounting a zpool, say for instance TANK... and you have its mountpoint set to /app
you have a bunch of zfs partitions created on top of it and you are having this user recursive removal issue (i.e. user cant use rm -rf /app/bob) do this.

zpool export -f TANK
chmod 755 /app
zpool import TANK

This Should Work!</description>
		<content:encoded><![CDATA[<p>Here is your answer!!!<br />
If you are mounting a zpool, say for instance TANK&#8230; and you have its mountpoint set to /app<br />
you have a bunch of zfs partitions created on top of it and you are having this user recursive removal issue (i.e. user cant use rm -rf /app/bob) do this.</p>
<p>zpool export -f TANK<br />
chmod 755 /app<br />
zpool import TANK</p>
<p>This Should Work!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: slakin.net &#124; mattsn0w.com &#187; weird ZFS/Solaris bug</title>
		<link>http://probably.co.uk/rm-rf-on-solaris-zfs-filesystem-doesnt-remove-directories.html/comment-page-1#comment-1985</link>
		<dc:creator>slakin.net &#124; mattsn0w.com &#187; weird ZFS/Solaris bug</dc:creator>
		<pubDate>Wed, 07 Oct 2009 16:31:22 +0000</pubDate>
		<guid isPermaLink="false">http://probably.co.uk/?p=78#comment-1985</guid>
		<description>[...] http://probably.co.uk/rm-rf-on-solaris-zfs-filesystem-doesnt-remove-directories.html/comment-page-1#... [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://probably.co.uk/rm-rf-on-solaris-zfs-filesystem-doesnt-remove-directories.html/comment-page-1#" rel="nofollow">http://probably.co.uk/rm-rf-on-solaris-zfs-filesystem-doesnt-remove-directories.html/comment-page-1#</a>&#8230; [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://probably.co.uk/rm-rf-on-solaris-zfs-filesystem-doesnt-remove-directories.html/comment-page-1#comment-1968</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Sun, 04 Oct 2009 12:34:14 +0000</pubDate>
		<guid isPermaLink="false">http://probably.co.uk/?p=78#comment-1968</guid>
		<description>Thanks Matt - that&#039;s pretty much the way I was dealing with it before I found the root cause though. Nice to have a workaround, nicer to know what&#039;s causing the issue I always think.</description>
		<content:encoded><![CDATA[<p>Thanks Matt &#8211; that&#8217;s pretty much the way I was dealing with it before I found the root cause though. Nice to have a workaround, nicer to know what&#8217;s causing the issue I always think.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mattsn0w</title>
		<link>http://probably.co.uk/rm-rf-on-solaris-zfs-filesystem-doesnt-remove-directories.html/comment-page-1#comment-1944</link>
		<dc:creator>mattsn0w</dc:creator>
		<pubDate>Mon, 28 Sep 2009 21:39:31 +0000</pubDate>
		<guid isPermaLink="false">http://probably.co.uk/?p=78#comment-1944</guid>
		<description>I hit the same issue with umask se to both 027 and 022. The following allows me to delete the files and directories.

rm -rf 
find  -depth -exec rmdir &#039;[]&#039; \;

rm -rf returns code 2 and rmdir returns code 0.

Deleting the directory as root works fine.</description>
		<content:encoded><![CDATA[<p>I hit the same issue with umask se to both 027 and 022. The following allows me to delete the files and directories.</p>
<p>rm -rf<br />
find  -depth -exec rmdir &#8216;[]&#8216; \;</p>
<p>rm -rf returns code 2 and rmdir returns code 0.</p>
<p>Deleting the directory as root works fine.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://probably.co.uk/rm-rf-on-solaris-zfs-filesystem-doesnt-remove-directories.html/comment-page-1#comment-820</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Mon, 27 Apr 2009 16:09:56 +0000</pubDate>
		<guid isPermaLink="false">http://probably.co.uk/?p=78#comment-820</guid>
		<description>Sounds like it. However, that&#039;s very old (build 36) and I would&#039;ve thought a patch I&#039;ve applied by now would&#039;ve sorted the issue out. Maybe not though.</description>
		<content:encoded><![CDATA[<p>Sounds like it. However, that&#8217;s very old (build 36) and I would&#8217;ve thought a patch I&#8217;ve applied by now would&#8217;ve sorted the issue out. Maybe not though.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tom</title>
		<link>http://probably.co.uk/rm-rf-on-solaris-zfs-filesystem-doesnt-remove-directories.html/comment-page-1#comment-818</link>
		<dc:creator>tom</dc:creator>
		<pubDate>Mon, 27 Apr 2009 16:04:32 +0000</pubDate>
		<guid isPermaLink="false">http://probably.co.uk/?p=78#comment-818</guid>
		<description>This looks to be spot on :
http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6389212</description>
		<content:encoded><![CDATA[<p>This looks to be spot on :<br />
<a href="http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6389212" rel="nofollow">http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6389212</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tom</title>
		<link>http://probably.co.uk/rm-rf-on-solaris-zfs-filesystem-doesnt-remove-directories.html/comment-page-1#comment-817</link>
		<dc:creator>tom</dc:creator>
		<pubDate>Mon, 27 Apr 2009 15:58:50 +0000</pubDate>
		<guid isPermaLink="false">http://probably.co.uk/?p=78#comment-817</guid>
		<description>*oops, I hit enter too soon*
If you become the user and do ‘ls -la’ of the ZFS mountpoint you also get a &quot;Permission denied&quot; error.</description>
		<content:encoded><![CDATA[<p>*oops, I hit enter too soon*<br />
If you become the user and do ‘ls -la’ of the ZFS mountpoint you also get a &#8220;Permission denied&#8221; error.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tom</title>
		<link>http://probably.co.uk/rm-rf-on-solaris-zfs-filesystem-doesnt-remove-directories.html/comment-page-1#comment-814</link>
		<dc:creator>tom</dc:creator>
		<pubDate>Mon, 27 Apr 2009 15:52:04 +0000</pubDate>
		<guid isPermaLink="false">http://probably.co.uk/?p=78#comment-814</guid>
		<description>Yes the aclinherit was a red herring, sorry.
If you become the user and try to &#039;ls -l&#039; the zfs mountpoint</description>
		<content:encoded><![CDATA[<p>Yes the aclinherit was a red herring, sorry.<br />
If you become the user and try to &#8216;ls -l&#8217; the zfs mountpoint</p>
]]></content:encoded>
	</item>
</channel>
</rss>

