lxc doesn't follow xdg basedir spec if XDG_DATA_HOME is set

Bug #1625235 reported by Allison Karlitskaya
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lxc (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

Pretty simple bug:

lxc-create: utils.c: mkdir_p: 253 Permission denied - failed to create directory '/home/desrt/.local/share/lxc'
desrt@humber:~$ echo $XDG_DATA_HOME
/home/desrt/.var/lib

lxc has no business putting files in ~/.local/share if XDG_DATA_HOME is set elsewhere. Please see https://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html

description: updated
Changed in lxc (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.