Public bug reported: root@files:/var/lib/lxd# snap install tree tree 3.5 from 'psivaa' installed root@files:/var/lib/lxd# tree Command 'tree' is available in '/snap/bin/tree' The command could not be located because '/snap/bin' is not included in the PATH environment variable. tree: command not found root@files:/var/lib/lxd# /snap/bin/tree . [error opening dir]
0 directories, 0 files root@files:/var/lib/lxd# exit karl@files:~$ tree . `-- snap `-- tree |-- 15 |-- common `-- current -> 15 5 directories, 0 files karl@files:~$ sudo tree [sudo] password for karl: . [error opening dir] 0 directories, 0 files karl@files:~$ lsb_release -rd Description: Ubuntu 18.04.1 LTS Release: 18.04 Note: apport doesn't work with this package: # apport-cli -f -p tree --save tree.apport *** Collecting problem information The collected information can be sent to the developers to improve the application. This might take a few minutes. dpkg-query: no packages found matching tree . *** Problem in tree The problem cannot be reported: This report is about a snap published by psivaa. Contact them via mailto:para.s...@canonical.com for help. Press any key to continue... Also, the email address para.s...@canonical.com is invalid. ** Affects: tree (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1784184 Title: tree command fails when run as root or via sudo To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/tree/+bug/1784184/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs