The /var/log/audit/audit.log is really big. I've open transmission and capture the audit.log file just after I push the button "Open" that gives the denial error to directory "/home/fprietog/Descargas" that is my Download directory (it's in Spanish):
type=AVC msg=audit(1760115849.133:474): apparmor="DENIED" operation="open" class="file" profile="transmission-gtk" name="/home/fprietog/Descargas/" pid=3718 comm="pool-9" requested_mask="r" denied_mask="r" fsuid=1026 ouid=1026FSUID="fprietog" OUID="fprietog" type=SYSCALL msg=audit(1760115849.133:474): arch=c00000b7 syscall=56 success=no exit=-13 a0=ffffffffffffff9c a1=ffff60001f10 a2=84800 a3=0 items=0 ppid=2570 pid=3718 auid=1026 uid=1026 gid=100 euid=1026 suid=1026 fsuid=1026 egid=100 sgid=100 fsgid=100 tty=(none) ses=5 comm="pool-9" exe="/usr/bin/transmission-gtk" subj=transmission-gtk key=(null)ARCH=aarch64 SYSCALL=openat AUID="fprietog" UID="fprietog" GID="users" EUID="fprietog" SUID="fprietog" FSUID="fprietog" EGID="users" SGID="users" FSGID="users" type=PROCTITLE msg=audit(1760115849.133:474): proctitle="/usr/bin/transmission-gtk" type=BPF msg=audit(1760115849.134:475): prog-id=72 op=UNLOAD type=BPF msg=audit(1760115849.134:476): prog-id=71 op=UNLOAD type=BPF msg=audit(1760115849.136:477): prog-id=73 op=LOAD type=BPF msg=audit(1760115849.137:478): prog-id=74 op=LOAD type=BPF msg=audit(1760115849.138:479): prog-id=75 op=LOAD type=SERVICE_START msg=audit(1760115849.207:480): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=unconfined msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'UID="root" AUID="unset" Here is also the contents of my file "/home/fprietog/.config/user- dirs.dirs": # This file is written by xdg-user-dirs-update # If you want to change or add directories, just edit the line you're # interested in. All local changes will be retained on the next run. # Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped # homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an # absolute path. No other format is supported. # XDG_DESKTOP_DIR="$HOME/Escritorio" XDG_DOWNLOAD_DIR="$HOME/Descargas" XDG_TEMPLATES_DIR="$HOME/Plantillas" XDG_PUBLICSHARE_DIR="$HOME/Público" XDG_DOCUMENTS_DIR="$HOME/Documentos" XDG_MUSIC_DIR="$HOME/Música" XDG_PICTURES_DIR="$HOME/Imágenes" XDG_VIDEOS_DIR="$HOME/Vídeos" It was generated that way because my system language is Spanish. Was apparmor changed recently to not take these variables from the user .config file but only from it's own file (/etc/apparmor.d/tunables/xdg- user-dirs)? If that's the case all non english systems will be affected. If you still want the whole audit.log file, please tell me and I try to clear it and do a reboot to make it as small as possible. Thanks and best regards. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apparmor in Ubuntu. https://bugs.launchpad.net/bugs/2127486 Title: [Ubuntu 25.10 Questing] Transmission (BT Client): access denied to user Download directory Status in apparmor package in Ubuntu: New Bug description: Ubuntu 25.10 Questing, clean install without further modifications. Transmission (BT Client) access to user Downloads directory is denied. I think that the problem may be that several XDG variables are not set/filled, for instance $XDG_DOWNLOAD_DIR. The apparmor profiles that rely in any of these variables may lead to authorization errors in their corresponding application. For instance the "transmission" profile contains this definition: # cat /etc/apparmor.d/abstractions/transmission-common | grep -i xdg owner @{HOME}/@{XDG_DOWNLOAD_DIR}/ r, owner @{HOME}/@{XDG_DOWNLOAD_DIR}/** rw, Additional info: ---------------- # lsb_release -rd Description: Ubuntu 25.10 Release: 25.10 # apt-cache policy apparmor apparmor: Instalados: 5.0.0~alpha1-0ubuntu8 Candidato: 5.0.0~alpha1-0ubuntu8 Tabla de versión: *** 5.0.0~alpha1-0ubuntu8 500 500 https://ports.ubuntu.com/ubuntu-ports questing/main arm64 Packages 100 /var/lib/dpkg/status To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/2127486/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp

