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

sincedb write fails under windows with "permission" error #36

Open
jweite opened this issue Aug 19, 2014 · 1 comment
Open

sincedb write fails under windows with "permission" error #36

jweite opened this issue Aug 19, 2014 · 1 comment

Comments

@jweite
Copy link

jweite commented Aug 19, 2014

tail.rb _sincedbwrite renames the newly written tmp sincedb over the previously existing one. This is failing with a "permission error" under Windows (7). I added code to (conditionally under windows only) delete the pre-existing sincedb file before the rename and the sincedb writes succeed. If the delete fails I log but leave both in place - the tmp sincedb file should be overwritten next time around.

-Joe Weitekamp

@bradvido
Copy link

I can confirm i get this error as well on windows. I see "_sincedb_write rename/sync failed" ... "Permission denied" in the logs every time it's attempted

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants