From: Linus Torvalds Date: Mon, 16 Jul 2007 21:44:59 GMT Subject: Re: [PATCH] Do _not_ call unlink on a directory Message-ID: In-Reply-To: <469BE1D4.1070408@slamb.org> On Mon, 16 Jul 2007, Scott Lamb wrote: > > But Solaris remove() is broken, too, so it's a moot point. In fact, with the Solaris behaviour for unlink(), you *cannot* have a non-broken "remove()". So the right fix is always to fix "unlink()" instead. There really aren't any downsides (since no program can rely on it _anyway_, unless we're talking about some magic "early bootup" time scripts that depend on only running as root, and only ever running on UFS - but those kinds of scripts could be trivially fixed and are obviously under Sun control anyway) Linus