mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
services: readymedia: Change cache and log directory permissions to 755.
Create cache directory and log directory with 755 permission, which passes run-readymedia-test. * gnu/services/upnp.scm (readymedia-activation): Change directory permissions of cache-directory and log-directory to 755. Change-Id: Iff30040c3fd52564510f66d3568dab0ef89e0449 Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
265d4f33dc
commit
cfe68843a8
1 changed files with 8 additions and 4 deletions
|
@ -188,10 +188,14 @@
|
|||
(mkdir-p/perms directory
|
||||
(getpw #$%readymedia-user-account)
|
||||
#o775)))
|
||||
(list #$cache-directory
|
||||
#$log-directory
|
||||
#$@(map readymedia-media-directory-path
|
||||
media-directories)))))))
|
||||
(list #$@(map readymedia-media-directory-path
|
||||
media-directories)))
|
||||
(for-each (lambda (directory)
|
||||
(unless (file-exists? directory)
|
||||
(mkdir-p/perms directory
|
||||
(getpw #$%readymedia-user-account)
|
||||
#o755)))
|
||||
(list #$cache-directory #$log-directory))))))
|
||||
|
||||
(define readymedia-service-type
|
||||
(service-type
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue