Site icon EfmSoft

What does errno 66 (ENOTEMPTY) mean?

 
Could be also:
ConstantTypeOS
ERROR_BAD_DEV_TYPEWin32 errorWindows
EREMOTEerrnoLinux
EREMOTEerrnoSolaris
ATDISK_DRIVER_INTERNALBugCheck CodeWindows
Previous Next
EREMOTE EREMOTE

ENOTEMPTY

Deletion is blocked by directory contents

ENOTEMPTY usually appears when an operation attempts to remove or replace a directory that still contains entries. It is not evidence that a filesystem is damaged. The remaining entry can be ordinary content, a hidden metadata item, a mount point interaction, or a concurrent creator that repopulates the directory between enumeration and removal.

A recursive cleanup should not treat this errno as permission denial. It should list the directory at the failure point, preserve the names and file types found, and handle races explicitly. Repeating removal without inspecting the entries can hide a producer that is still active.

Checks that distinguish common causes

References


Looking for a different code? Search another status or error code.

Exit mobile version