GNU bug report logs - #28485
[PATCH 1/3] base: Make working copy writable.

Previous Next

Package: guix-patches;

Reported by: Jan Nieuwenhuizen <janneke <at> gnu.org>

Date: Sun, 17 Sep 2017 20:14:03 UTC

Severity: normal

Tags: patch

Done: Jan Nieuwenhuizen <janneke <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Jan Nieuwenhuizen <janneke <at> gnu.org>
To: 28485 <at> debbugs.gnu.org
Subject: [bug#28485] [PATCH 1/3] base: Make working copy writable.
Date: Sun, 17 Sep 2017 22:11:54 +0200
* src/cuirass/base.scm (copy-repository-cache): Make working copy writable.
Fixes guix .po build errors.
---
 src/cuirass/base.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/cuirass/base.scm b/src/cuirass/base.scm
index 02e587a..1711c30 100644
--- a/src/cuirass/base.scm
+++ b/src/cuirass/base.scm
@@ -143,7 +143,8 @@ directory and the sha1 of the top level commit in this directory."
       (let ((name (assq-ref spec #:name)))
         ;; Flush any directory with the same name.
         (false-if-exception (delete-file-recursively name))
-        (copy-recursively repo name)))))
+        (copy-recursively repo name)
+        (system* "chmod" "-R" "+w" name)))))
 
 (define (compile dir)
   ;; Required for fetching Guix bootstrap tarballs.
-- 
Jan Nieuwenhuizen <janneke <at> gnu.org> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | AvatarĀ® http://AvatarAcademy.com





This bug report was last modified 7 years and 325 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.