GNU bug report logs - #76717
[PATCH] services: readymedia-activation: Change directory permissions to 775.

Previous Next

Package: guix-patches;

Reported by: Sughosha <sughosha <at> disroot.org>

Date: Mon, 3 Mar 2025 17:09:02 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Sughosha <sughosha <at> disroot.org>
To: guix-patches <at> gnu.org
Cc: Sughosha <sughosha <at> disroot.org>
Subject: [PATCH] services: readymedia-activation: Change directory permissions
 to 775.
Date: Mon,  3 Mar 2025 22:37:15 +0530
Allow users in readymedia group to write in the directory created by
readymedia-activation.

* gnu/services/upnp.scm (readymedia-activation): Change directory permissions
to 775.

Change-Id: Ifda8e4fe8594fb5a1cdf6e329a8c83551eab9c06
---
 gnu/services/upnp.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/services/upnp.scm b/gnu/services/upnp.scm
index e5d05add28..c125c07af2 100644
--- a/gnu/services/upnp.scm
+++ b/gnu/services/upnp.scm
@@ -187,7 +187,7 @@ (define (readymedia-activation config)
                       (unless (file-exists? directory)
                         (mkdir-p/perms directory
                                        (getpw #$%readymedia-user-account)
-                                       #o755)))
+                                       #o775)))
                     (list #$cache-directory
                           #$log-directory
                           #$@(map readymedia-media-directory-path

base-commit: f3f09fb4a370fd0363fd216f73736164a2a29f7b
-- 
2.47.1





This bug report was last modified 119 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.