[Bug 1754356] Re: xdg-user-dirs-update does not take care of $HOME
Launchpad Bug Tracker
1754356 at bugs.launchpad.net
Fri Mar 23 18:54:33 UTC 2018
This bug was fixed in the package xdg-user-dirs - 0.17-1ubuntu1
---------------
xdg-user-dirs (0.17-1ubuntu1) bionic; urgency=low
* Merge with Debian. Remaining change:
- Add launchpad_translation_export.patch:
+ update translations from Launchpad
* Fixes xdg-user-dirs-update not respecting $HOME (LP: #1754356), thanks
Trevinho.
xdg-user-dirs (0.17-1) unstable; urgency=medium
* New upstream release (LP: #1754356)
* Update Vcs fields for migration to https://salsa.debian.org/
xdg-user-dirs (0.16-1) unstable; urgency=medium
* New upstream release
* Drop 01_add-autostart-file.patch: Applied in new release
* Update Vcs fields for conversion to git
* Add debian/gbp.conf
* Bump Standards-Version to 4.1.2
* Bump debhelper compat to 11
-- Iain Lane <iain.lane at canonical.com> Fri, 23 Mar 2018 15:58:57 +0000
** Changed in: xdg-user-dirs (Ubuntu)
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1754356
Title:
xdg-user-dirs-update does not take care of $HOME
Status in xdg-user-dirs package in Ubuntu:
Fix Released
Status in xdg-user-dirs source package in Xenial:
In Progress
Bug description:
[ Impact ]
When setting an user dir to a folder that is subfolder of $HOME (and
when $HOME does not match the /etc/passwd defined home for the user),
the ~/.config/user-dirs.dirs is wrongly generated.
[ Test case ]
1) env HOME=/tmp/temp-home xdg-user-dirs-update
2) find /tmp/temp-home/
3) should list generated XDG user directories
4) /tmp/temp-home/.config/user-dirs.dirs should mention them
Launching something like:
- env HOME=/tmp/temp-home ./xdg-user-dirs-update --set DOWNLOADS "/tmp/temp-home/sub/folder/of/it/Downloads"
Should modify /tmp/temp-home/.config/user-dirs.dirs so that it contains:
XDG_DOWNLOADS_DIR="$HOME/sub/folder/of/it/Downloads"
[ Regression potential ]
Xdg folders could be generated in wrong locations.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xdg-user-dirs/+bug/1754356/+subscriptions
More information about the Ubuntu-sponsors
mailing list