guix_mirror_bot pushed a commit to branch master
in repository guix.
commit ecfd4000f40ede9c95ad711e81b0c3da12bb425f
Author: Ludovic Courtès <[email protected]>
AuthorDate: Wed Nov 11 18:24:04 2026 +0100
install: Have ‘mount-cow-store’ add the sticky bit on /tmp.
* gnu/build/install.scm (mount-cow-store): Call ‘chmod’ on ‘tmpdir’.
Signed-off-by: Ludovic Courtès <[email protected]>
---
gnu/build/install.scm | 1 +
1 file changed, 1 insertion(+)
diff --git a/gnu/build/install.scm b/gnu/build/install.scm
index df9befe058a..53ef37f3428 100644
--- a/gnu/build/install.scm
+++ b/gnu/build/install.scm
@@ -263,6 +263,7 @@ disk."
(let ((tmpdir (string-append target "/tmp")))
(mkdir-p tmpdir)
+ (chmod tmpdir #o1777)
(mount tmpdir "/tmp" "none" MS_BIND))
(let* ((rw-dir (string-append target backing-directory))