Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set 722 file permissions on UDS socket (#93)
The permissions of the socket created by aiohttp aren't as permissive as the ones set by the real agent. (see aio-libs/aiohttp#4155) from @devinsba: test agent: ``` cnb@my-app:/var/run/datadog$ ls -la total 4 drwxr-xr-x 2 root root 60 Aug 1 21:24 . drwxr-xr-x 1 root root 4096 Aug 1 21:24 .. srwxr-xr-x 1 root root 0 Aug 1 21:24 apm.socket ``` real agent: ``` cnb@my-app:/var/run/datadog$ ls -la total 4 drwxr-xr-x 2 root root 80 Aug 1 21:30 . drwxr-xr-x 1 root root 4096 Aug 1 21:31 .. srwx-w--w- 1 root root 0 Aug 1 21:30 apm.socket ``` aiohttp doesn't seem to have a configurable way to set these permissions but it does let us create and manage a socket ourselves, so let's try that.
- Loading branch information