What does errno 93 (ENOTEMPTY) mean?

 
Could be also:
ConstantTypeOS
EPROTONOSUPPORTerrnoLinux
ENOATTRerrnoMac
UNSUPPORTED_PROCESSORBugCheck CodeWindows
Previous Next
ENOATTR ESOCKTNOSUPPORT

ENOTEMPTY

Non-empty directory operation

On Solaris, ENOTEMPTY is errno value 93. The base message is directory not empty, but the useful diagnostic context is narrower than the short message: Solaris refused to remove or rename a directory because it still contains entries.

Use the Solaris-specific errno table first, then compare with POSIX only for portable behavior. Some Solaris values share names with other UNIX systems but have different numbers or more specific historical meanings.

What to check

  • List hidden entries as well as visible names.
  • Check for concurrent creators in the same directory.
  • Do not treat this result as a permission error.

References


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