From: Thomas Glanzmann Date: Mon, 16 Jul 2007 17:17: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: <20070716171732.GE6134@cip.informatik.uni-erlangen.de> In-Reply-To: Hello Linus, > I'd suggest making a bug-report. ENOTEMPTY is not an optional error. > Posix says "Shall fail". The "unlink directories" is so old-fashioned > that it's not even funny. The whole reason "rmdir()" was created was > to *not* have that behaviour in the OS. I asked the UFS maintainer to reconsider to fix this. Thomas