sentry-native database permissions on OSX #1117
Unanswered
bgedzior-logi
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I work on a project that uses a user-space process communicating with a service running with elevated privileges. For both processes sentry is configured sentry. However, in certain cases, the automatic transport of the crashes to the server is disabled. For that cases there's a shell script that takes crashdumps from database/completed, then zips them to allows user to send us (developers) for analysis.
The problem is that database folder has permissions, that allow only the owner to see the files inside. And for the elevated service, database path owner is a root, hence we cannot copy the dumps with the script run by a regular user.
My question is about my idea to solve the issue. I was thinking that after I launch the sentry, I could change the permissions for database folder allowing anyone to read it. I'm, however, concerned about possible security issues. This folder has that permissions for some reason, and I'm simply worried that changing permissions wouldn't be a security hole.
Is my solution correct, or would someone suggest something else?
Beta Was this translation helpful? Give feedback.
All reactions