I have had the same problem recently, as a debian user who uses Ubuntu ocasionally i don't have familiarity with the way sudo works, i have noticed this problem doesn't happen when you have a shell obtained by the su command, so i think sudo su is not the same as obtaining the shell by su and sudo "command" is not the same as executing the command as root.
I solved the problem doing sudo su setting a password for root, entering as root with su and doing ubuntu-emulator create myinstance -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1320313 Title: permission denied mkdir /root/.cache To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/goget-ubuntu-touch/+bug/1320313/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs