-
Notifications
You must be signed in to change notification settings - Fork 78
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
snaketail causing certain lock on text file preventing continuation of log file - not read only #134
Comments
Pull-Requests are welcome to make the file-monitor even better. Version 1.9.6 have been released, that introduces the keyboard shortcut CTRL + R |
Hi, thanks for the heads up, i tested it with 1.9.6 but regarding this issue seems unchanged. |
Like I just wrote. Pull Request are welcome
|
I was not able to fix this, but for anyone looking: I think there are more kinds of shareable file locks in Windows than covered under the docs at https://docs.microsoft.com/en-us/dotnet/api/system.io.fileshare?view=netcore-3.1 The file access is happening in
The FileShare specified is correct. However, PowerShell's
when I call it like: However, I cannot always use It is strange but I have to mix both |
Reporting this just in case someone else experiencing something similar strange behavior, possibly involving snaketail.
We're having 2 environments here:
A:
B:
In environment A: all works fine
In environment B: when viewing the log file in snaketail, the log file stops working as if locked.
But the file still can be deleted, so not a real lock but to a certain degree, preventing the program from adding anymore lines to the log file.
When closing the view, the log starts functioning again, new lines being added as expected.
What could cause this, the dot(s) in the folder name, or ..
Could it be reproduced? Could it be solved? (So snaketail only monitors files in a read only manner)
Cheers.
The text was updated successfully, but these errors were encountered: