Snap 应用程序 Heroku 放弃权限不起作用

Snap 应用程序 Heroku 放弃权限不起作用

通过 snap 安装后执行命令时heroku,会引发错误dropping privs did not work

cesar@pc:~$ heroku --version
dropping privs did not work

但如果我执行sudo heroku命令运行:

cesar@pc:~$ sudo heroku --version
 ▸    heroku-cli: update available from 6.16.4 to 6.99.0-ec9edad
heroku-cli/6.16.4 (linux-x86) node-v9.9.0

附加信息:

cesar@pc:~$ snap version
snap    2.36.1
snapd   2.36.1
series  16
ubuntu  16.04
kernel  4.4.0-139-generic`

cesar@pc:~$ snap list
Name    Version                     Rev   Tracking  Publisher   Notes
core    16-2.36.1                   5900  stable    canonical✓  core
heroku  v6.16.4+git2.3916a9e-dirty  1613  stable    heroku✓     classic

Linux version 4.4.0-139-generic (buildd@lgw01-amd64-031) (gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.10) ) #165-Ubuntu SMP Wed Oct 24 10:55:26 UTC 2018

相关内容