Ask Your Question
0

I can't install Devstack : permission denied

asked 2015-06-13 18:43:13 -0500

anonymous user

Anonymous

updated 2015-06-13 23:36:37 -0500

sunnyarora gravatar image

i have create a new user :

sudo adduser stack
sudo apt-get install sudo -y || yum install -y sudo
echo "stack ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers

sudo chown -R stack devstack
sudo chmod 770 devstack

when run /.stach.sh withe the stack user It gives me this errors :

WARNING: gnome-keyring:: couldn't connect to: /run/user/1000/keyring-yQPKK4/pkcs11: Permission denied
p11-kit: skipping module 'gnome-keyring' whose initialization failed: An error occurred on the device

df: '/run/user/1000/gvfs': Permission denied
df: '/root/.gvfs': Permission denied
edit retag flag offensive close merge delete

Comments

1

This has been already answered, below are 2 links if you check.

Solution 1

Solution 2

sunnyarora gravatar imagesunnyarora ( 2015-06-14 01:32:07 -0500 )edit

2 answers

Sort by ยป oldest newest most voted
0

answered 2015-06-15 06:26:45 -0500

uts9 gravatar image

Add stack user to the sudo group

sudo usermod -a -G sudo stack

stack@ubuntu1404:~$ id stack
uid=1001(stack) gid=1001(stack) groups=1001(stack),27(sudo),130(libvirtd)
edit flag offensive delete link more

Comments

This I have tried still getting same error

Maestropandy gravatar imageMaestropandy ( 2016-06-29 02:02:44 -0500 )edit
0

answered 2015-06-19 14:46:39 -0500

rahim gravatar image

sudo adduser stack sudo apt-get install sudo -y || yum install -y sudo echo "stack ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers sudo usermod -a -G sudo stack chown -R devstack devstack' chmod 770 devstack

If you are using stack user(or any other), it is better to download the devstack.git from that user (stack fo exemple) login and then all the folders created including /home/youruser/devstack will have necessary permissions.

https://ask.openstack.org/en/question/12949/stack-sh-failed-due-to-permission-denied/ (https://ask.openstack.org/en/question...)

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-06-13 18:43:13 -0500

Seen: 2,006 times

Last updated: Jun 19 '15