summaryrefslogtreecommitdiff
path: root/guix/scripts/challenge.scm
diff options
context:
space:
mode:
Diffstat (limited to 'guix/scripts/challenge.scm')
-rw-r--r--guix/scripts/challenge.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/guix/scripts/challenge.scm b/guix/scripts/challenge.scm
index 72d3e850f2..96ffe53a85 100644
--- a/guix/scripts/challenge.scm
+++ b/guix/scripts/challenge.scm
@@ -316,7 +316,8 @@ specified in COMPARISON-REPORT."
'chmod -R +w DIRECTORY'."
(file-system-fold (const #t)
(lambda (file stat _) ;leaf
- (make-file-writable file))
+ (unless (eq? 'symlink (stat:type stat))
+ (make-file-writable file)))
(lambda (directory stat _) ;down
(make-file-writable directory))
(const #t) ;up