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

cysignals_crash_logs in an unwritable directory #117

Open
jamesjer opened this issue Oct 25, 2019 · 0 comments
Open

cysignals_crash_logs in an unwritable directory #117

jamesjer opened this issue Oct 25, 2019 · 0 comments

Comments

@jamesjer
Copy link

A Fedora user has somehow managed to trigger the creation of cysignals_crash_logs in a directory for which the user does not have write permission:

https://bugzilla.redhat.com/show_bug.cgi?id=1751021

I'm not sure how the user did this, since the process environment attached to that bug indicates that $PWD is the user's home directory. Nevertheless, it might be a good idea to wrap the invocation of mkdir_p in cysignals-CSI with a try ... except PermissionError: ... and do what? Return None?

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

1 participant