Snap application Heroku dropping privs did not work
up vote
0
down vote
favorite
When executing the command heroku after installing via snap, it throws the error dropping privs did not work:
cesar@pc:~$ heroku --version
dropping privs did not work
But if I execute sudo heroku the command runs:
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
Additional Information:
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
permissions sudo snap heroku
                    migrated from meta.askubuntu.com Nov 30 at 9:15
This question came from our discussion, support, and feature requests site for Ubuntu users and developers.
add a comment |
up vote
0
down vote
favorite
When executing the command heroku after installing via snap, it throws the error dropping privs did not work:
cesar@pc:~$ heroku --version
dropping privs did not work
But if I execute sudo heroku the command runs:
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
Additional Information:
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
permissions sudo snap heroku
                    migrated from meta.askubuntu.com Nov 30 at 9:15
This question came from our discussion, support, and feature requests site for Ubuntu users and developers.
Have you modified your user somehow? what is the output ofid?
– Dan
Dec 1 at 13:13
I have not modified my user. I do not know how to get theidyou mention.
– Cesar Romero
Dec 3 at 3:08
idis just a command. You just need to run it in a terminal and it should output info about your user and its groups.
– Dan
2 days ago
I understand, thank you. When executing 'id'uid=1000(cesar) gid=0(root) grupos=0(root),4(adm),20(dialout),21(fax),24(cdrom),25(floppy),26(tape),27(sudo),30(dip),44(video),46(plugdev),120(lpadmin),121(sambashare)
– Cesar Romero
2 days ago
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
When executing the command heroku after installing via snap, it throws the error dropping privs did not work:
cesar@pc:~$ heroku --version
dropping privs did not work
But if I execute sudo heroku the command runs:
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
Additional Information:
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
permissions sudo snap heroku
When executing the command heroku after installing via snap, it throws the error dropping privs did not work:
cesar@pc:~$ heroku --version
dropping privs did not work
But if I execute sudo heroku the command runs:
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
Additional Information:
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
permissions sudo snap heroku
permissions sudo snap heroku
edited 2 days ago
asked Nov 30 at 3:47
Cesar Romero
1014
1014
                    migrated from meta.askubuntu.com Nov 30 at 9:15
This question came from our discussion, support, and feature requests site for Ubuntu users and developers.
                    migrated from meta.askubuntu.com Nov 30 at 9:15
This question came from our discussion, support, and feature requests site for Ubuntu users and developers.
Have you modified your user somehow? what is the output ofid?
– Dan
Dec 1 at 13:13
I have not modified my user. I do not know how to get theidyou mention.
– Cesar Romero
Dec 3 at 3:08
idis just a command. You just need to run it in a terminal and it should output info about your user and its groups.
– Dan
2 days ago
I understand, thank you. When executing 'id'uid=1000(cesar) gid=0(root) grupos=0(root),4(adm),20(dialout),21(fax),24(cdrom),25(floppy),26(tape),27(sudo),30(dip),44(video),46(plugdev),120(lpadmin),121(sambashare)
– Cesar Romero
2 days ago
add a comment |
Have you modified your user somehow? what is the output ofid?
– Dan
Dec 1 at 13:13
I have not modified my user. I do not know how to get theidyou mention.
– Cesar Romero
Dec 3 at 3:08
idis just a command. You just need to run it in a terminal and it should output info about your user and its groups.
– Dan
2 days ago
I understand, thank you. When executing 'id'uid=1000(cesar) gid=0(root) grupos=0(root),4(adm),20(dialout),21(fax),24(cdrom),25(floppy),26(tape),27(sudo),30(dip),44(video),46(plugdev),120(lpadmin),121(sambashare)
– Cesar Romero
2 days ago
Have you modified your user somehow? what is the output of
id?– Dan
Dec 1 at 13:13
Have you modified your user somehow? what is the output of
id?– Dan
Dec 1 at 13:13
I have not modified my user. I do not know how to get the
id you mention.– Cesar Romero
Dec 3 at 3:08
I have not modified my user. I do not know how to get the
id you mention.– Cesar Romero
Dec 3 at 3:08
id is just a command. You just need to run it in a terminal and it should output info about your user and its groups.– Dan
2 days ago
id is just a command. You just need to run it in a terminal and it should output info about your user and its groups.– Dan
2 days ago
I understand, thank you. When executing 'id'
uid=1000(cesar) gid=0(root) grupos=0(root),4(adm),20(dialout),21(fax),24(cdrom),25(floppy),26(tape),27(sudo),30(dip),44(video),46(plugdev),120(lpadmin),121(sambashare)– Cesar Romero
2 days ago
I understand, thank you. When executing 'id'
uid=1000(cesar) gid=0(root) grupos=0(root),4(adm),20(dialout),21(fax),24(cdrom),25(floppy),26(tape),27(sudo),30(dip),44(video),46(plugdev),120(lpadmin),121(sambashare)– Cesar Romero
2 days ago
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
 
But avoid …
- Asking for help, clarification, or responding to other answers.
 - Making statements based on opinion; back them up with references or personal experience.
 
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
 
But avoid …
- Asking for help, clarification, or responding to other answers.
 - Making statements based on opinion; back them up with references or personal experience.
 
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1097360%2fsnap-application-heroku-dropping-privs-did-not-work%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Have you modified your user somehow? what is the output of
id?– Dan
Dec 1 at 13:13
I have not modified my user. I do not know how to get the
idyou mention.– Cesar Romero
Dec 3 at 3:08
idis just a command. You just need to run it in a terminal and it should output info about your user and its groups.– Dan
2 days ago
I understand, thank you. When executing 'id'
uid=1000(cesar) gid=0(root) grupos=0(root),4(adm),20(dialout),21(fax),24(cdrom),25(floppy),26(tape),27(sudo),30(dip),44(video),46(plugdev),120(lpadmin),121(sambashare)– Cesar Romero
2 days ago