Public bug reported:

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

** Affects: lxc (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  Pretty simple bug:
  
  lxc-create: utils.c: mkdir_p: 253 Permission denied - failed to create 
directory '/home/desrt/.local/share/lxc'
- desrt@humber:~/code/dconf$ echo $XDG_DATA_HOME 
+ 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
+ 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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1625235

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1625235/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to