summary refs log tree commit diff
diff options
context:
space:
mode:
authorMathieu Othacehe <othacehe@gnu.org>2021-10-03 17:57:15 +0000
committerMathieu Othacehe <othacehe@gnu.org>2021-10-03 17:57:15 +0000
commit58e4de03f8e497350bc24b5fd559ff817e624fbc (patch)
treeca3cff371a90a3aca3d60d2641941f0457fb4359
parent31cf1530a4b8de8fa9f066814eeb85a521bd74af (diff)
downloadguix-58e4de03f8e497350bc24b5fd559ff817e624fbc.tar.gz
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.
-rw-r--r--gnu/services/desktop.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/services/desktop.scm b/gnu/services/desktop.scm
index 64d0e85301..612d548eea 100644
--- a/gnu/services/desktop.scm
+++ b/gnu/services/desktop.scm
@@ -1021,7 +1021,7 @@ rules."
                         (use-modules (guix build utils))
                         (let ((directory "/tmp/.X11-unix"))
                           (mkdir-p directory)
-                          (chmod directory #o777))))))
+                          (chmod directory #o1777))))))
 
 ;;;
 ;;; Enlightenment desktop service.