Welcome to CRUX bug tracking.

FS#1898 - rc: create .X11-unix in addition to .ICE-unix

Attached to Project: CRUX
Opened by Steffen Nurpmeso (steffen) - Friday, 17 December 2021, 16:36 GMT
Last edited by Tim Biermann (tb) - Sunday, 27 February 2022, 20:47 GMT
Task Type Bug Report
Category ports → core/opt
Status Closed
Assigned To CRUX Developers (crux)
Operating System CRUX
Severity Medium
Priority Normal
Reported Version 3.6
Due in Version 3.7
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


If you're in "video" and "input" you can start Xorg via /usr/lib/xorg-server/Xorg without going over the SUID /usr/lib/xorg-server/Xorg.wrap.
If you are the first (as opposed to "you ain't the first") then the directory gets created as the starting user, 01777, and the log (in $XDG_DATA_HOME) says

[ 1610.055] _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root

Since /usr/ports/core/rc/rc already does

/bin/mkdir -m 1777 /tmp/.ICE-unix

it would be nice if it would be

/bin/mkdir -m 1777 /tmp/.ICE-unix /tmp/.X11-unix


Thank you in advance.
This task depends upon

Closed by  Tim Biermann (tb)
Sunday, 27 February 2022, 20:47 GMT
Reason for closing:  Implemented
Additional comments about closing:  3.7