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 @@ 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