[Mono-bugs] [Bug 381224] New: FileShare. Delete should allow file to be marked for subsequent deletion

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Apr 18 05:18:58 EDT 2008


           Summary: FileShare.Delete should allow file to be marked for
                    subsequent deletion
           Product: Mono: Runtime
           Version: SVN
          Platform: All
        OS/Version: openSUSE 10.3
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: io-layer
        AssignedTo: dick at novell.com
        ReportedBy: gert.driesen at pandora.be
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---

When a FileStream has opened a file with FileShare.Delete, we should allow that
file to be marked for subsequent deletion.

On Windows, using File.Delete on a file locked using FileShare.Delete yields
success but only removes the file once the FileStream that locked the file is
actually closed.

On Mono/Unix, you immediately get a sharing violation.

To reproduce, see gert/standalone/bug81767 in SVN.

Lemme know if you want me to attach that test case.

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the mono-bugs mailing list