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

Socket is world writable #18

Open
devurandom opened this issue Apr 23, 2019 · 3 comments · Fixed by Oxalin/radeon-profile-daemon#1
Open

Socket is world writable #18

devurandom opened this issue Apr 23, 2019 · 3 comments · Fixed by Oxalin/radeon-profile-daemon#1

Comments

@devurandom
Copy link

The socket radeon-profile-daemon creates is:

  • Located in /tmp, while I would expect sockets of system services to be in /run
  • World-writable, while I would expect it to be restricted to e.g. the video group
$ sudo netstat -npl | grep radeon-profile
unix  2      [ ACC ]     STREAM     LISTENING     12415381 23656/radeon-profil  /tmp/radeon-profile-daemon-server
$ ls -l /tmp/radeon-profile-daemon-server
srwxr-xrwx 1 root root 0 Apr 23 20:43 /tmp/radeon-profile-daemon-server=
@devurandom devurandom changed the title Socket world writable Socket world is writable Apr 23, 2019
@marazmista
Copy link
Owner

Hi, partially implemented here ec81c14, socket file moved to /run

@devurandom devurandom changed the title Socket world is writable Socket is world writable Jun 3, 2019
@stintel
Copy link

stintel commented Dec 25, 2020

I'm planning to submit a PR to fix this soon, I'm just waiting for permission of the author of one of the patches.

@Oxalin
Copy link

Oxalin commented Jan 24, 2023

This is fixed under my fork, thanks to stintel code and a bit of polishing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants