From: Linus Torvalds Date: Mon, 16 Jul 2007 17:03:32 GMT Subject: Re: "git clone" executed as root on solaris 10 shreds UFS (it is possible to create hardlinks for directories as root under solaris) Message-ID: In-Reply-To: <20070716133602.GB26675@cip.informatik.uni-erlangen.de> On Mon, 16 Jul 2007, Thomas Glanzmann wrote: > > I think it is. Damn it. What seems to hapen here is that git does: > > - create a subdirectory > - puts a file in > - deletes a subdirectory (by call unlink - that would normally fail, > but with solaris as root it does not fail) Solaris is apparently a buggy piece of crap. I'd suggest making a bug-report. ENOTEMPTY is not an optional error. Posix says "Shall fail". Linus