From: SourceForge.net <no...@so...> - 2012-03-21 09:28:55
|
Bugs item #3509641, was opened at 2012-03-21 02:28 Message generated for change (Settings changed) made by grnch You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=622063&aid=3509641&group_id=98788 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Linux Kernel Group: v0.7.x (release) Status: Open Resolution: None Priority: 5 Private: No Submitted By: Grnch (grnch) Assigned to: Nobody/Anonymous (nobody) >Summary: rmdir on cofs returns success but the dir is not deleted Initial Comment: 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 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=622063&aid=3509641&group_id=98788 |