At work we use a LaCie 10TB 5big Network NAS RAID for file sharing between PCs and Mac computers. The LaCie box runs on Linux. When I get the error message "Cannot remove folder : The directory is not empty." on my PC, I use the Mac computer to delete the folder.
{I have both a PC machine and an iMac on my desk}