Solaris Common Messages and Troubleshooting Guide

Directory not empty


The directory operation that was attempted, such as directory removal with rmdir(1), can be performed only on an empty directory.


To remove the directory, first remove all the files that it contains. A quick way to remove a non-empty directory hierarchy is with the rm -r command.

Technical Notes

The symbolic name for this error is ENOTEMPTY, errno=93.