XDG_CACHE_HOME also have the same issue.
https://bugs.launchpad.net/ubuntu/+source/phablet-tools/+bug/1394855
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1394858
Title:
XDG_DATA_HOME can't work u
Vicamo,
Yes, :)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1394858
Title:
XDG_DATA_HOME can't work ubuntu-emulator
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubun
I think both `sudo -E ...` or `sudo env XDG_DATA_DIRS=$XDG_DATA_DIRS
...` work for your case.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1394858
Title:
XDG_DATA_HOME can't work ubuntu-emulator
T
Vicamo,
Yes, that's the reason.
You cant just write a simple test. when use it with sudo it can't anything. :)
--
$cat test.sh
#!/bin/bash
echo "$XDG_DATA_DIRS"
--
Could we find another way to set the DATA_HOME? Thanks!
When you execute any command with sudo, it will probably _not_ carry
your environment variables set for your normal user. So, when you
execute `ubuntu-emulator list` as normal user, that XDG_DATA_HOME
variable takes effect and not when you execute `ubuntu-emulator create`
as root via sudo.
--
You