From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark H Weaver Subject: Re: /var/tmp Date: Mon, 30 Mar 2015 19:24:21 -0400 Message-ID: <87fv8mdq6y.fsf@netris.org> References: <87384mrc4q.fsf@netris.org> <871tk68f00.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40114) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ycj2G-0000r0-H1 for guix-devel@gnu.org; Mon, 30 Mar 2015 19:24:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ycj2D-0002nF-Bj for guix-devel@gnu.org; Mon, 30 Mar 2015 19:24:00 -0400 In-Reply-To: <871tk68f00.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Mon, 30 Mar 2015 21:25:03 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel@gnu.org ludo@gnu.org (Ludovic Court=C3=A8s) writes: > Mark H Weaver 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." >=20=20 > (directory "/bin") > (directory "/tmp" 0 0 #o1777) ; sticky bit > + (directory "/var/tmp" 0 0 #o1777) >=20=20 > (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