[Bug 1754356] Re: xdg-user-dirs-update does not take care of $HOME
Ubuntu Foundations Team Bug Bot
1754356 at bugs.launchpad.net
Thu Mar 8 16:20:10 UTC 2018
The attachment "xenial SRU debdiff" seems to be a debdiff. The ubuntu-
sponsors team has been subscribed to the bug report so that they can
review and hopefully sponsor the debdiff. If the attachment isn't a
patch, please remove the "patch" flag from the attachment, remove the
"patch" tag, and if you are member of the ~ubuntu-sponsors, unsubscribe
the team.
[This is an automated message performed by a Launchpad user owned by
~brian-murray, for any issue please contact him.]
--
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:
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