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
Pylint Unable to create directory /github/home/.cache/pylint #1919
Comments
@Kurt-von-Laven Would it make sense to when we build the image we create the folder and have it open? |
That might fix the issue, but I don't recommend that approach off the bat. This strikes me as a permissions issue, so these are the sorts of things I would look into.
If all of the permissions look right, but there is no |
@Kurt-von-Laven Thanks for the input. I need to get some time to test this. |
This issue has been automatically marked as stale because it has not had recent activity. If you think this issue should stay open, please remove the |
@admiralAwkbar, this one has had me stumped for a while, but I recently hit a permission error in a different context that was related to Docker running as root. I wonder if that is also going on here and could be addressed by simply running Docker in rootless mode, which also has security benefits. That repo's README also explains the other error. |
FYI, the job to remove the stale label failed. |
Fix for that proposed in #2032 |
Thank you, @tunetheweb (and @admiralAwkbar for the marknotstale label). |
@Kurt-von-Laven We need to get the linter into non root user. I agree on that. |
This issue has been automatically marked as stale because it has not had recent activity. If you think this issue should stay open, please remove the |
Describe the bug
Pylint itself logs what appears to be a permissions error when it detects a lint error.
Expected behavior
Pylint successfully caches stats files rather than failing to write to the file system.
Steps to Reproduce
Logs
The text was updated successfully, but these errors were encountered: