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.
This commit is contained in:
Danny Milosavljevic 2020-05-26 16:01:33 +02:00
parent e91c29a491
commit 6ac7526e48
No known key found for this signature in database
GPG key ID: E71A35542C30BAA5

View file

@ -869,7 +869,7 @@ (define %cups-activation
(use-modules (guix build utils)) (use-modules (guix build utils))
(define (mkdir-p/perms directory owner perms) (define (mkdir-p/perms directory owner perms)
(mkdir-p directory) (mkdir-p directory)
(chown "/var/run/cups" (passwd:uid owner) (passwd:gid owner)) (chown directory (passwd:uid owner) (passwd:gid owner))
(chmod directory perms)) (chmod directory perms))
(define (build-subject parameters) (define (build-subject parameters)
(string-concatenate (string-concatenate