Public bug reported:
Title: xdg-user-dirs ignores enabled=False and immutable config files on
Ubuntu 26.04 LTS
Environment:
- Ubuntu 26.04 LTS (Resolute Raccoon)
- GNOME 50, systemd 259, Linux kernel 7.0
- Package: xdg-user-dirs
Steps to reproduce:
1. Set enabled=False in ~/.config/user-dirs.conf
2. Set all XDG dirs to $HOME in ~/.config/user-dirs.dirs
3. Run: sudo chattr +i ~/.config/user-dirs.conf
4. Run: sudo chattr +i ~/.config/user-dirs.dirs
5. Reboot
Expected result:
- XDG user directories (Desktop, Downloads, etc.) are NOT recreated
Actual result:
- Symlinks/directories are recreated on every login despite:
a) enabled=False in user config
b) enabled=False in /etc/xdg/user-dirs.conf
c) Files marked immutable with chattr +i
d) xdg-user-dirs-update.desktop set to Hidden=true
Additional notes:
- sudo reboot is blocked by gnome-session-s inhibitor and cannot
be overridden even with systemctl reboot -i or reboot --force --force
- loginctl terminate-session also fails to release the inhibitor
- This is a regression — the enabled=False flag worked on prior Ubuntu releases
ProblemType: Bug
DistroRelease: Ubuntu 26.04
Package: xdg-user-dirs 0.19-1
ProcVersionSignature: Ubuntu 7.0.0-14.14-generic 7.0.0
Uname: Linux 7.0.0-14-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.34.0-0ubuntu2
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Mon Apr 27 12:04:40 2026
InstallationDate: Installed on 2026-04-27 (0 days ago)
InstallationMedia: Ubuntu 26.04 "Resolute Raccoon" - Release amd64 (20260423.1)
ProcEnviron:
LANG=en_US.UTF-8
PATH=(custom, no user)
SHELL=/bin/bash
TERM=xterm-256color
XDG_RUNTIME_DIR=<set>
SourcePackage: xdg-user-dirs
UpgradeStatus: No upgrade log present (probably fresh install)
mtime.conffile..etc.xdg.user-dirs.conf: 2026-04-27T11:24:23.451372
** Affects: xdg-user-dirs (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug resolute wayland-session
--
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to xdg-user-dirs in Ubuntu.
https://bugs.launchpad.net/bugs/2150413
Title:
xdg-user-dirs ignores enabled=False and immutable config files on
Ubuntu 26.04 LTS
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xdg-user-dirs/+bug/2150413/+subscriptions
--
desktop-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs