summary refs log tree commit diff
path: root/gnu/services
diff options
context:
space:
mode:
authorDanny Milosavljevic <dannym@scratchpost.org>2020-05-26 16:01:33 +0200
committerDanny Milosavljevic <dannym@scratchpost.org>2020-05-26 16:03:56 +0200
commit6ac7526e488ad3dd73080d1c00efe2066b1bf0a2 (patch)
tree8b82453258653e1f741d79b705f04f9f7c042687 /gnu/services
parente91c29a491267a832b2739a8f171e6e1bf263a95 (diff)
downloadguix-6ac7526e488ad3dd73080d1c00efe2066b1bf0a2.tar.gz
services: Fix permissions of directory /var/spool/cups/tmp.
Fixes <https://bugs.gnu.org/41367>.

* gnu/services/cups.scm (%cups-activation): Fix permissions of directory
/var/spool/cups/tmp.
Diffstat (limited to 'gnu/services')
-rw-r--r--gnu/services/cups.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/services/cups.scm b/gnu/services/cups.scm
index c3c6d2f1be..16d6f76c1a 100644
--- a/gnu/services/cups.scm
+++ b/gnu/services/cups.scm
@@ -869,7 +869,7 @@ IPP specifications.")
         (use-modules (guix build utils))
         (define (mkdir-p/perms directory owner perms)
           (mkdir-p directory)
-          (chown "/var/run/cups" (passwd:uid owner) (passwd:gid owner))
+          (chown directory (passwd:uid owner) (passwd:gid owner))
           (chmod directory perms))
         (define (build-subject parameters)
           (string-concatenate