From 66c2703f092f346e00e61a0a86ca4e2331756db5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= <ludo@gnu.org>
Date: Sat, 19 Jul 2014 14:25:39 +0200
Subject: [PATCH] install: Set the store's permission to #o1775.

Fixes <http://bugs.gnu.org/18053>.
Reported by Mark H Weaver <mhw@netris.org>.

* guix/build/install.scm (directives): Add mode #o1775 for STORE.
---
 guix/build/install.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/guix/build/install.scm b/guix/build/install.scm
index d0019300ff3..5bafe905ded 100644
--- a/guix/build/install.scm
+++ b/guix/build/install.scm
@@ -75,7 +75,7 @@ (define (directives store)
 STORE."
   `(;; Note: the store's GID is fixed precisely so we can set it here rather
     ;; than at activation time.
-    (directory ,store 0 30000)
+    (directory ,store 0 30000 #o1775)
 
     (directory "/etc")
     (directory "/var/log")                          ; for dmd
-- 
GitLab