I think I know what is happening.

* In Ubuntu 25.04 Plucky the "transmission" profile (transmission-gtk process) 
was defined as:
profile transmission-gtk /usr/bin/transmission-gtk 
flags=(complain,attach_disconnected) {

* In Ubuntu 25.10 Questing the "complain" flag has been removed:
profile transmission-gtk /usr/bin/transmission-gtk flags=(attach_disconnected) {

in 25.04 it complains but allowed the directory access. In 25.10 it only
works when the system locale is English (supposing that the user didn't
change the XDG_DOWNLOAD_DIR default value "Downloads") as that is the
value assigned in the apparmor file "/etc/apparmor.d/tunables/xdg-user-
dirs".

For other languages seems that it's needed to manually change the
apparmor file "/etc/apparmor.d/tunables/xdg-user-dirs.d/site.local" to
make apparmor take the correct XDG_* locale directories (per user, if
you have several users with different languages I'm not sure if it can
be achieved).

If this is correct, I'm sorry but I think that is just crazy... IMHO any
program, including apparmor, should take the XDG_* values from it's
official files:

* Per user: ~/.config/user-dirs.dirs
* If not, per system: /etc/xdg/user-dirs.defaults

Don't see any advantage of having similar/duped files just for apparmor
use. And it obviously got disadvantages like the problem happened to me.

Thanks and best regards.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2127486

Title:
  [Ubuntu 25.10 Questing] Transmission (BT Client): access denied to
  user Download directory

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/2127486/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to