services: desktop: Add the sticky bit to the X11 socket directory.

This prevents mutter from complaining that the /tmp/.X11-unix directory
misses the sticky bit when starting X Wayland.

* gnu/services/desktop.scm (x11-socket-directory-service): Add the sticky bit.
This commit is contained in:
Mathieu Othacehe 2021-10-03 17:57:15 +00:00
parent 31cf1530a4
commit 58e4de03f8
No known key found for this signature in database
GPG key ID: 8354763531769CA6

View file

@ -1021,7 +1021,7 @@ (define x11-socket-directory-service
(use-modules (guix build utils))
(let ((directory "/tmp/.X11-unix"))
(mkdir-p directory)
(chmod directory #o777))))))
(chmod directory #o1777))))))
;;;
;;; Enlightenment desktop service.