guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/02: services: desktop: Add the sticky bit to the X11 socket directory


From: guix-commits
Subject: 02/02: services: desktop: Add the sticky bit to the X11 socket directory.
Date: Sun, 3 Oct 2021 14:05:26 -0400 (EDT)

mothacehe pushed a commit to branch core-updates-frozen
in repository guix.

commit 58e4de03f8e497350bc24b5fd559ff817e624fbc
Author: Mathieu Othacehe <othacehe@gnu.org>
AuthorDate: Sun Oct 3 17:57:15 2021 +0000

    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.
---
 gnu/services/desktop.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/services/desktop.scm b/gnu/services/desktop.scm
index 64d0e85..612d548 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]