diff options
author | Marius Bakke <marius@gnu.org> | 2020-12-13 20:50:50 +0100 |
---|---|---|
committer | Marius Bakke <marius@gnu.org> | 2020-12-13 20:50:50 +0100 |
commit | d13ed52da216ece35af8e4f4ae413eb05912794b (patch) | |
tree | a4313f1c21fb309ffea89be715be640376935cfb /gnu/services/audio.scm | |
parent | bdfdb9d79d83c806ea59a9bdd99b5a786d14999c (diff) | |
parent | a7737f0ead2293536b9d0ba253de4673378a0ffa (diff) | |
download | guix-d13ed52da216ece35af8e4f4ae413eb05912794b.tar.gz |
Merge branch 'ungrafting' into staging
Diffstat (limited to 'gnu/services/audio.scm')
-rw-r--r-- | gnu/services/audio.scm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gnu/services/audio.scm b/gnu/services/audio.scm index 627b941871..c60053f33c 100644 --- a/gnu/services/audio.scm +++ b/gnu/services/audio.scm @@ -163,7 +163,11 @@ audio_output { (let ((directory #$(mpd-file-name config ".mpd"))) (mkdir-p directory) - (chown directory (passwd:uid %user) (passwd:gid %user)))))) + (chown directory (passwd:uid %user) (passwd:gid %user)) + + ;; Make /var/run/mpd/USER user-owned as well. + (chown (dirname directory) + (passwd:uid %user) (passwd:gid %user)))))) (define %mpd-accounts |