Linux errno
Linux errno ENOTDIR
In Linux errno, code ENOTDIR is ENOTDIR. The official source describes it as “Not a directory”. Its concrete cause depends on the operation and surrounding message.
CodeENOTDIR
SymbolENOTDIR
Source confidencehigh
Official definition
Not a directory
In plain language
In Linux errno, code ENOTDIR is ENOTDIR. The official source describes it as “Not a directory”. 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
- Confirm which product, protocol or subsystem produced the code.
- Read the full surrounding error message and inspect relevant logs.
- Compare the code with the linked authoritative documentation before changing configuration.
Important context
Numeric value on this Linux runtime: 20. Numeric errno values can vary across systems. The symbolic errno name is the portable identity; numeric mappings can vary by platform.