Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File locked("File In Use") / Unauthorized Access - Events #5

Closed
MeikTranel opened this issue Jun 19, 2020 · 1 comment
Closed

File locked("File In Use") / Unauthorized Access - Events #5

MeikTranel opened this issue Jun 19, 2020 · 1 comment
Labels
Area-Filesystem Issue in the NTFS/*FAT filesystem Resolution-OutOfScope Not in scope

Comments

@MeikTranel
Copy link

MeikTranel commented Jun 19, 2020

Please for the love of all that is holy enable event viewer logging for file locked by process X Access Violations or general UnauthorizedAccessExceptions.
This event should detail reasons why a certain file was inaccessible for programmatic access - programs like handle are all cool programs but the OS probably knows best what was wrong with a certain request. In case of locking processes this should list processes by name and PID. In case of unauthorized access it should detail what exactly made it unauthorized.

As a developer the time I wasted in my life backtracing locked file issues is way too high.
I'm not always able to break a program and investigate the lock, so a monitoring log that lets me read all recent locked file issues would be greatly appreciated - also timing is an issue because some high volatility scenarios like compiling software where files get created and deleted in a matter of a milliseconds are in many cases not locked anymore by the time any lock detection mechanism can step in.

@bitcrazed bitcrazed added Area-Filesystem Issue in the NTFS/*FAT filesystem Resolution-OutOfScope Not in scope labels Jul 18, 2020
@bitcrazed
Copy link
Contributor

Great suggestion, but not in-scope for this repo at this time. Please submit via Feedback Hub so it gets routed to the filesystem team. Closing.

@ghost ghost locked as resolved and limited conversation to collaborators Jan 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Area-Filesystem Issue in the NTFS/*FAT filesystem Resolution-OutOfScope Not in scope
Projects
None yet
Development

No branches or pull requests

2 participants