A better workaround is modifying /etc/apparmor.d/tunables/rygel to add
your folders like this:
# ------------------------------------------------------------------
#
# Copyright (C) 2024 Canonical Ltd.
# This program is free software; you can redistribute it and/or
# modify it under the terms of version 2 of the GNU General Public
# License published by the Free Software Foundation.
#
# ------------------------------------------------------------------
# allow standard XDG media paths by default
@{rygel_media_dirs}=@{HOME}/@{XDG_MUSIC_DIR} @{HOME}/@{XDG_VIDEOS_DIR}
@{HOME}/@{XDG_PICTURES_DIR} @{HOME}/Muzyka @{HOME}/Wideo @{HOME}/Obrazy
include if exists <tunables/rygel.d>
I used Polish folder names here. I think you can also change the names in
/etc/apparmor.d/tunables/xdg-user-dirs but it will modify AppArmor for all
users, even if they use a different language.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2137088
Title:
apparmor denies acces at rygel in ubuntu 25.10 (and 26.04)
To manage notifications about this bug go to:
https://bugs.launchpad.net/apparmor/+bug/2137088/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs