Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
x11-base/xorg-server-1.19.99.901 SUID revert
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
mrtelekinesis
n00b
n00b


Joined: 06 Mar 2018
Posts: 2

PostPosted: Tue Mar 06, 2018 1:10 am    Post subject: x11-base/xorg-server-1.19.99.901 SUID revert Reply with quote

Edit: Not really a revert of the suid useflag, but a workaround for now until something is figured out.

For those who want to revert the change

Code:
sudo chown root:root /usr/libexec/Xorg
sudo chmod 4711 /usr/libexec/Xorg


will allow you to run Xorg as root for now.

and to go back to x11-base/xorg-server-1.19.99.901 default settings
Code:
sudo chown root:root /usr/libexec/Xorg
sudo chmod 0755 /usr/libexec/Xorg


Last edited by mrtelekinesis on Tue Mar 06, 2018 3:42 am; edited 1 time in total
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 14188

PostPosted: Tue Mar 06, 2018 3:24 am    Post subject: Reply with quote

As a minor point, the traditional permissions for suid Xorg are 4711, not 4755. Although not always useful, it is traditional that suid programs be unreadable to others.
Back to top
View user's profile Send private message
mrtelekinesis
n00b
n00b


Joined: 06 Mar 2018
Posts: 2

PostPosted: Tue Mar 06, 2018 3:39 am    Post subject: Reply with quote

Hu wrote:
As a minor point, the traditional permissions for suid Xorg are 4711, not 4755. Although not always useful, it is traditional that suid programs be unreadable to others.


Yeah that sounds better, I will edit the post with those permissions instead. I was trying to figure out how to run this new x11-base/xorg-server-1.19.99.901 without suid , but after adding my user to the groups tty, video and input and being stuck with drmSetMaster: permission denied , I figured this out instead for now :D.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum