guix-devel
[Top][All Lists]
Advanced

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

Re: /var/tmp


From: Mark H Weaver
Subject: Re: /var/tmp
Date: Mon, 30 Mar 2015 19:24:21 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

address@hidden (Ludovic Courtès) writes:

> Mark H Weaver <address@hidden> 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.

Looks good to me!

    Thanks,
      Mark



reply via email to

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