Skip to content

General question: does cosmic depend on setuid? #1082

Answered by Drakulix
TonyKuroi asked this question in Q&A
Discussion options

You must be logged in to vote

The short answer is: No.

The slightly longer answer is: It depends.

The only component needing setuid/suid potentially is cosmic-comp, since it needs to access a bunch of devices directly. However that is not a configuration we use or support, since cosmic-comp can also access these devices through any backend supported by libseat. On most systems this will be systemd-logind, but other backends are supported that work on systemd-less distributions.

So apart from very esoteric configurations, there is absolutely no reason to set the suid-bit on cosmic-comp and I personally don't know of any distribution, that does do that.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@TonyKuroi
Comment options

Answer selected by TonyKuroi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants