on 2/26/01 2:59 PM, G. Adam Stanislav at [EMAIL PROTECTED] wrote:

> At 09:11 26-02-2001 -0700, Geoff Coffey wrote:
>> Errno 21 on my system is EISDIR -- 'is a directory', which doesn't seem to
>> be an error at all...
> 
> It is an error (that is why it starts with an 'E'). Appendix C of
> POSIX Programmer's Guide describes it as follows:
> 
> "Attemp to open a directory for writing or to rename a file to be
> a directory. Used by: open(), rename()"

Sorry, I was not clear. Yes, I know it is an error, but I don't think it is
an error that makes sense in context...ie- rmdir should never complain that
it can't delete a directory because it "is a directory". That doesn't make
sense. And as further evidence, the man page for rmdir(2) does not list
EISDIR as a possible error result.

So...the problem remains. Anybody have any idea why mysql would fail to drop
databases, reporting that rmdir failed with errno 21 (EISDIR in my case)
when it _does_ have permission to delete the directory. As I mentioned
before, the table files _are_ deleted, but it fails to delete the (now
empty) directory.

Thanks,

Geoff


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to