Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/var/lib/lxc may not give you read permissions #53

Open
jamesonjlee opened this issue Nov 14, 2013 · 1 comment
Open

/var/lib/lxc may not give you read permissions #53

jamesonjlee opened this issue Nov 14, 2013 · 1 comment

Comments

@jamesonjlee
Copy link

running on a clean 12.04.2 ubuntu precise:

vagrant@vagabond-lxc-host:~/chef-repo$ bundle exec vagabond server up
Ensuring expected system state (creating required base containers)
   - This can take a while on first run or new templates...
  -> COMPLETE!
Vagabond: Creating server
Vagabond exiting. Reason: Permission denied - /var/lib/lxc/vb-zero-server-cVv8BFam1VIx/config
vagrant@vagabond-lxc-host:~/chef-repo$ ls -l /var/lib/
total 148
drwxr-xr-x 4 root    root    4096 May 11  2013 AccountsService
...
drwx------ 6 root    root    4096 Nov 14 04:29 lxc
...
drwxr-xr-x 2 root    root    4096 Jan 24  2010 yum
vagrant@vagabond-lxc-host:~/chef-repo$ ls -l /var/lib/lxc/
total 16
drwxr-xr-x 3 root root 4096 Nov 14 04:21 ubuntu_1204
drwxr-xr-x 3 root root 4096 Nov 14 04:23 vb-zero-server
drwxr-xr-x 3 root root 4096 Nov 14 04:29 vb-zero-server-cVv8BFam1VIx
drwxr-xr-x 3 root root 4096 Nov 14 04:28 vb-zero-server-lSOLd6VwKR47

when the /var/lib/lxc was changed to 755 it runs fine, so a quick check for permission and a chmod probably will fix the issue.

@chrisroberts
Copy link
Owner

Mode set in cookbook. Will be linked in next release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants