Skip to content

notepad.exe return STATUS_SHARING_VIOLATION when save #1293

@NatsuKageX

Description

@NatsuKageX

This appears in my windows server 2019 system when using notepad.exe in dokan disk. I have tried both mirror and memfs sample and still appear. when I first time opening a txt file and edit then save in dokan disk, it return STATUS_SHARING_VIOLATION, I ignore this error and the next time I save the file, it success. Reproducing this when I close the file and reopen it. I used filespy.exe and check the dokan sys log, it shows that create irp faild in DokanCheckShareAccess function but there is no other process opening the file.

failed:
Image

Image

success

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions