What software can I use to detect the details of how a file is opened (specifically permissions for other processes)?
We have two versions of card printing software: CardFive, and Zebra Card Studio which acquired CardFive and maintains their old software.
Both open a CSV file for printing instructions. The old version allows subsequent instances of the software to modify those instructions. The new version does not -- it refuses to allow any modification.
I suspect the problem is with the file locking privileges, i.e. the old software opens with OF_SHARE_DENY_NONE (ReadWrite in .NET's FileShare Enumeration), and that the new software opens with greater share restrictions.
How can I tell exactly how a network file is locked? I tried looking at multiple instances of both application versions in Process Explorer, but it shows only which process has a file open -- not how it is open:
I am aware that concurrent write access can cause data integrity issues. In this specific case, I do not expect that to be a problem.