Linux errno

Linux errno ENOTEMPTY

In Linux errno, code ENOTEMPTY is ENOTEMPTY. The official source describes it as “Directory not empty”. Its concrete cause depends on the operation and surrounding message.

CodeENOTEMPTY
SymbolENOTEMPTY
Source confidencehigh

Official definition

Directory not empty

In plain language

In Linux errno, code ENOTEMPTY is ENOTEMPTY. The official source describes it as “Directory not empty”. Its concrete cause depends on the operation and surrounding message.

Context to inspect

  • The surrounding operation, version and subsystem determine the actual cause.
  • The same numeric value can mean something different in another namespace.

Safe first checks

  1. Confirm which product, protocol or subsystem produced the code.
  2. Read the full surrounding error message and inspect relevant logs.
  3. Compare the code with the linked authoritative documentation before changing configuration.

Important context

Numeric value on this Linux runtime: 39. Numeric errno values can vary across systems. The symbolic errno name is the portable identity; numeric mappings can vary by platform.

Authoritative source

Linux man-pages errno(3)

Related codes