mirror of
https://github.com/NarrativeScience-old/log.io.git
synced 2026-04-25 17:15:52 +03:00
[GH-ISSUE #86] Clarify "fs.js:1051" error caused by incorrect log permissions #65
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/log.io-NarrativeScience-old#65
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @holachek on GitHub (Jul 24, 2013).
Original GitHub issue: https://github.com/NarrativeScience-old/log.io/issues/86
I get this error when I specify a log file to watch that can't be read due to restricted access permissions (e.g., a log file mode of 400):
It took me a while to figure out that file permissions were the problem. I think it would be helpful to clarify that the error is due to file permissions.... maybe echo out an error message like "Can't read log file due to incorrect permissions." so future users don't have to troubleshoot for a solution.
@ghost commented on GitHub (Jan 28, 2014):
And how to fix the permissions?
@msmathers commented on GitHub (Aug 1, 2014):
Unfortunately there are hundreds of potential errors that could be produced throughout the log.io stack, and properly messaging them all would take a lot of work and string parsing that would likely change as dependencies and node.js evolves. Although cryptic, EACCES is a relatively well-known error code in the node.js world.
@seanmavley commented on GitHub (Jan 1, 2017):
@holachek And so what was the solution? 2017, and still having same issue.