Mark H Weaver <[email protected]> skribis:

> Should we add /var/tmp on GuixSD?

Surely.  How about this patch?

diff --git a/gnu/build/install.scm b/gnu/build/install.scm
index aa901f6..e624cdd 100644
--- a/gnu/build/install.scm
+++ b/gnu/build/install.scm
@@ -118,6 +118,7 @@ STORE."
 
     (directory "/bin")
     (directory "/tmp" 0 0 #o1777)                 ; sticky bit
+    (directory "/var/tmp" 0 0 #o1777)
 
     (directory "/root" 0 0)                       ; an exception
     (directory "/home" 0 0)))
This will only take effect on new installs.  On existing installations,
people will have to create it by hand.

Ludo’.

Reply via email to