guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: services: Fix permissions of directory /var/spool


From: guix-commits
Subject: branch master updated: services: Fix permissions of directory /var/spool/cups/tmp.
Date: Tue, 26 May 2020 10:04:17 -0400

This is an automated email from the git hooks/post-receive script.

dannym pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 6ac7526  services: Fix permissions of directory /var/spool/cups/tmp.
6ac7526 is described below

commit 6ac7526e488ad3dd73080d1c00efe2066b1bf0a2
Author: Danny Milosavljevic <address@hidden>
AuthorDate: Tue May 26 16:01:33 2020 +0200

    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.
---
 gnu/services/cups.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/services/cups.scm b/gnu/services/cups.scm
index c3c6d2f..16d6f76 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]