summary refs log tree commit diff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2014-07-19 14:25:39 +0200
committerLudovic Courtès <ludo@gnu.org>2014-07-19 14:26:19 +0200
commit66c2703f092f346e00e61a0a86ca4e2331756db5 (patch)
tree0f604e8a37ca197826599f9c3e0cc5e24adef1ad
parent501aa54f7dac3aadcb6c2c8c5febff50f6390d9d (diff)
downloadguix-66c2703f092f346e00e61a0a86ca4e2331756db5.tar.gz
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.
-rw-r--r--guix/build/install.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/build/install.scm b/guix/build/install.scm
index d0019300ff..5bafe905de 100644
--- a/guix/build/install.scm
+++ b/guix/build/install.scm
@@ -75,7 +75,7 @@ directory TARGET."
 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