Solaris Common Messages and Troubleshooting Guide

Cause

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