I shared a local NTFS disk through cofs (host is XP) and then I mounted it from inside the Linux image with the following mount options:
noattrib,nocache,uid=foo,gid=foo,fmask=0644
Then I navigate to the mounted cofs dir create a non-empty dir, e.g.
mkdir foo
echo bar > foo/bar
If I try to delete this dir with rmdir, instead of getting an error that the dir is non-empty, I get success but the dir still remains.
rmdir foo
Of course, "rm -r foo" will get rid of the dir, but the problem is that the rmdir() system call doesn't return an error for non-empty dirs, which confuses some software when using cofs shares from coLinux (notably CVS).
coLinux version is: 2.6.33.5-co-0.7.9-r1547