PermissionError: [Errno 13] Permission denied: '/dev/null'
How do you use Sentry?
Sentry Saas (sentry.io)
Version
1.4.3
Steps to Reproduce
- Add sentry-sdk to django
- Host on GCP CloudRun
sentry_sdk.init()throws the mentioned exception
Expected Result
No exception
Actual Result

Issue suddenly started occurring today. No changes were made to sdk version and it's been running smoothly until now
@alfred-soroush that can only happen if /dev/null somehow changes permissions, which in general is read/write for every user. Is something else in your application writing to /dev/null and possibly changing its permissions by mistake?
@alfred-soroush that can only happen if
/dev/nullsomehow changes permissions, which in general is read/write for every user. Is something else in your application writing to/dev/nulland possibly changing its permissions by mistake?
No changes were made from our end as we don't manage permissions manually and everything is running on default cloudrun configs. the application is a simple django app running on cloudrun using terraform image garbetjie/cloud-run/google v 2.2.0