Comment 12 for bug 186569

Revision history for this message
Szabolcs Szakacsits (szaka) wrote :

Sebastien Bacher wrote:
"That's a ntfs-3g issue, rmdir on an existant directory returns EEXIST and not ENOTEMPTY as it should"

You're quite mistaken. Both are correct and file systems use both values:
http://www.opengroup.org/onlinepubs/007908775/xsh/rmdir.html

NTFS-3G uses EEXIST because more software handle the relevant error scenario better that way. Seemingly that doesn't include Nautilus.

Szaka

--
NTFS-3G Lead Developer: http://ntfs-3g.org