"Permission denied @ rb_sysopen" :(


#1

So… who’s seen this with a ‘vagrant up’?

I reinstalled everything… VirtualBox, vagrant, chefdk, vagrant plugs etc
yesterday. Only happening with this one cookbook.

Douglass-MacBook-Pro:slice-base doug$ vagrant provision
==> default: Loading Berkshelf datafile…
==> default: Sharing cookbooks with VM
==> default: Updating Vagrant’s Berkshelf…
The following berks command failed to execute:

/usr/bin/berks vendor

/Users/doug/.berkshelf/vagrant-berkshelf/shelves/berkshelf20141203-7419-k0xtm1-default
–berksfile /Users/doug/git/chef/chef-cookbooks/slice-base/Berksfile

The stdout and stderr are shown below:

stdout: Resolving cookbook dependencies...

Fetching ‘slice-aws-ephemeral’ from source at …/slice-aws-ephemeral
Fetching ‘slice-awscli’ from source at …/slice-awscli
Fetching ‘slice-base’ from source at .
Fetching ‘slice-chef-client’ from source at …/slice-chef-client
Fetching ‘slice-hostname’ from source at …/slice-hostname
Fetching ‘slice-ldap’ from source at …/slice-ldap
Fetching ‘slice-motd’ from source at …/slice-motd
Fetching ‘slice-nrpe’ from source at …/slice-nrpe
Fetching ‘slice-openssh’ from source at …/slice-openssh
Fetching ‘slice-sudo’ from source at …/slice-sudo
Fetching ‘slice-swap’ from source at …/slice-swap
Using build-essential (2.1.0)
Using chef-solo-search (0.5.1) from
https://github.com/edelight/chef-solo-search.git (at master)
Using chef-client (3.6.0)
Using file (2.0.0) from https://github.com/jenssegers/chef-file.git (at
master)
Using iptables (0.14.0)
Using chef_handler (1.1.6)
Using lvm (1.2.2)
Using nrpe (1.4.4)
Using cron (1.6.0)
Using ohai (2.0.1)
Using python (1.4.6)
Using logrotate (1.7.0)
Using openssh (1.3.4)
Using slice-aws-ephemeral (0.1.3) from source at …/slice-aws-ephemeral
Using slice-chef-client (0.1.19) from source at …/slice-chef-client
Using slice-base (1.0.31) from source at .
Using slice-awscli (0.1.1) from source at …/slice-awscli
Using slice-ldap (0.1.25) from source at …/slice-ldap
Using slice-nrpe (0.1.20) from source at …/slice-nrpe
Using slice-hostname (0.1.17) from source at …/slice-hostname
Using slice-openssh (0.1.3) from source at …/slice-openssh
Using sudo (2.7.0)
Using swap (0.3.8)
Using yum (3.3.2)
Using yum-epel (0.5.1)
Using slice-swap (0.1.6) from source at …/slice-swap
Using hostsfile (2.4.5)
Using slice-sudo (0.1.8) from source at …/slice-sudo
Using slice-motd (0.0.3) from source at …/slice-motd
Vendoring build-essential (2.1.0) to
/Users/doug/.berkshelf/vagrant-berkshelf/shelves/berkshelf20141203-7419-k0xtm1-default/build-essential
Vendoring chef-client (3.6.0) to
/Users/doug/.berkshelf/vagrant-berkshelf/shelves/berkshelf20141203-7419-k0xtm1-default/chef-client
Vendoring chef-solo-search (0.5.1) to
/Users/doug/.berkshelf/vagrant-berkshelf/shelves/berkshelf20141203-7419-k0xtm1-default/chef-solo-search
Vendoring chef_handler (1.1.6) to
/Users/doug/.berkshelf/vagrant-berkshelf/shelves/berkshelf20141203-7419-k0xtm1-default/chef_handler
Vendoring cron (1.6.0) to
/Users/doug/.berkshelf/vagrant-berkshelf/shelves/berkshelf20141203-7419-k0xtm1-default/cron
Vendoring file (2.0.0) to
/Users/doug/.berkshelf/vagrant-berkshelf/shelves/berkshelf20141203-7419-k0xtm1-default/file
Vendoring hostsfile (2.4.5) to
/Users/doug/.berkshelf/vagrant-berkshelf/shelves/berkshelf20141203-7419-k0xtm1-default/hostsfile
Vendoring iptables (0.14.0) to
/Users/doug/.berkshelf/vagrant-berkshelf/shelves/berkshelf20141203-7419-k0xtm1-default/iptables
Vendoring logrotate (1.7.0) to
/Users/doug/.berkshelf/vagrant-berkshelf/shelves/berkshelf20141203-7419-k0xtm1-default/logrotate
Vendoring lvm (1.2.2) to
/Users/doug/.berkshelf/vagrant-berkshelf/shelves/berkshelf20141203-7419-k0xtm1-default/lvm
Vendoring nrpe (1.4.4) to
/Users/doug/.berkshelf/vagrant-berkshelf/shelves/berkshelf20141203-7419-k0xtm1-default/nrpe
Vendoring ohai (2.0.1) to
/Users/doug/.berkshelf/vagrant-berkshelf/shelves/berkshelf20141203-7419-k0xtm1-default/ohai
Vendoring openssh (1.3.4) to
/Users/doug/.berkshelf/vagrant-berkshelf/shelves/berkshelf20141203-7419-k0xtm1-default/openssh
Vendoring python (1.4.6) to
/Users/doug/.berkshelf/vagrant-berkshelf/shelves/berkshelf20141203-7419-k0xtm1-default/python
Vendoring slice-aws-ephemeral (0.1.3) to
/Users/doug/.berkshelf/vagrant-berkshelf/shelves/berkshelf20141203-7419-k0xtm1-default/slice-aws-ephemeral
Vendoring slice-awscli (0.1.1) to
/Users/doug/.berkshelf/vagrant-berkshelf/shelves/berkshelf20141203-7419-k0xtm1-default/slice-awscli
Vendoring slice-base (1.0.31) to
/Users/doug/.berkshelf/vagrant-berkshelf/shelves/berkshelf20141203-7419-k0xtm1-default/slice-base
Vendoring slice-chef-client (0.1.19) to
/Users/doug/.berkshelf/vagrant-berkshelf/shelves/berkshelf20141203-7419-k0xtm1-default/slice-chef-client
Vendoring slice-hostname (0.1.17) to
/Users/doug/.berkshelf/vagrant-berkshelf/shelves/berkshelf20141203-7419-k0xtm1-default/slice-hostname
Vendoring slice-ldap (0.1.25) to
/Users/doug/.berkshelf/vagrant-berkshelf/shelves/berkshelf20141203-7419-k0xtm1-default/slice-ldap
Vendoring slice-motd (0.0.3) to
/Users/doug/.berkshelf/vagrant-berkshelf/shelves/berkshelf20141203-7419-k0xtm1-default/slice-motd
Vendoring slice-nrpe (0.1.20) to
/Users/doug/.berkshelf/vagrant-berkshelf/shelves/berkshelf20141203-7419-k0xtm1-default/slice-nrpe
Vendoring slice-openssh (0.1.3) to
/Users/doug/.berkshelf/vagrant-berkshelf/shelves/berkshelf20141203-7419-k0xtm1-default/slice-openssh
Vendoring slice-sudo (0.1.8) to
/Users/doug/.berkshelf/vagrant-berkshelf/shelves/berkshelf20141203-7419-k0xtm1-default/slice-sudo
Vendoring slice-swap (0.1.6) to
/Users/doug/.berkshelf/vagrant-berkshelf/shelves/berkshelf20141203-7419-k0xtm1-default/slice-swap
Vendoring sudo (2.7.0) to
/Users/doug/.berkshelf/vagrant-berkshelf/shelves/berkshelf20141203-7419-k0xtm1-default/sudo
Vendoring swap (0.3.8) to
/Users/doug/.berkshelf/vagrant-berkshelf/shelves/berkshelf20141203-7419-k0xtm1-default/swap
Vendoring yum (3.3.2) to
/Users/doug/.berkshelf/vagrant-berkshelf/shelves/berkshelf20141203-7419-k0xtm1-default/yum
Vendoring yum-epel (0.5.1) to
/Users/doug/.berkshelf/vagrant-berkshelf/shelves/berkshelf20141203-7419-k0xtm1-default/yum-epel

stderr: /opt/chefdk/embedded/lib/ruby/2.1.0/fileutils.rb:1402:in

initialize': Permission denied @ rb_sysopen - /Users/doug/.berkshelf/vagrant-berkshelf/shelves/berkshelf20141203-7419-k0xtm1-default/chef-solo-search/.git/objects/pack/pack-01bc017603cf76234865cc984f8f23e853190a3c.idx (Errno::EACCES) from /opt/chefdk/embedded/lib/ruby/2.1.0/fileutils.rb:1402:inopen’
from /opt/chefdk/embedded/lib/ruby/2.1.0/fileutils.rb:1402:in block in copy_file' from /opt/chefdk/embedded/lib/ruby/2.1.0/fileutils.rb:1401:inopen’
from /opt/chefdk/embedded/lib/ruby/2.1.0/fileutils.rb:1401:in
copy_file' from /opt/chefdk/embedded/lib/ruby/2.1.0/fileutils.rb:483:incopy_file’
from /opt/chefdk/embedded/lib/ruby/2.1.0/fileutils.rb:400:in block in cp' from /opt/chefdk/embedded/lib/ruby/2.1.0/fileutils.rb:1579:inblock in
fu_each_src_dest’
from /opt/chefdk/embedded/lib/ruby/2.1.0/fileutils.rb:1595:in
fu_each_src_dest0' from /opt/chefdk/embedded/lib/ruby/2.1.0/fileutils.rb:1577:infu_each_src_dest’
from /opt/chefdk/embedded/lib/ruby/2.1.0/fileutils.rb:399:in cp' from /opt/chefdk/embedded/apps/berkshelf/lib/berkshelf/file_syncer.rb:88:inblock in sync’
from
/opt/chefdk/embedded/apps/berkshelf/lib/berkshelf/file_syncer.rb:71:in
each' from /opt/chefdk/embedded/apps/berkshelf/lib/berkshelf/file_syncer.rb:71:insync’
from
/opt/chefdk/embedded/apps/berkshelf/lib/berkshelf/berksfile.rb:617:in
block in vendor' from /opt/chefdk/embedded/lib/ruby/2.1.0/tmpdir.rb:88:inmktmpdir’
from
/opt/chefdk/embedded/apps/berkshelf/lib/berkshelf/berksfile.rb:577:in
vendor' from /opt/chefdk/embedded/apps/berkshelf/lib/berkshelf/cli.rb:387:invendor’
from
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor/command.rb:27:in
run' from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor/invocation.rb:126:ininvoke_command’
from
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor.rb:359:in
dispatch' from /opt/chefdk/embedded/apps/berkshelf/lib/berkshelf/cli.rb:52:indispatch’
from
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor/base.rb:440:in
start' from /opt/chefdk/embedded/apps/berkshelf/lib/berkshelf/cli.rb:27:inexecute!‘
from /opt/chefdk/embedded/apps/berkshelf/bin/berks:5:in <top (required)>' from /usr/bin/berks:38:inload’
from /usr/bin/berks:38:in `’

It appears that you are not using the ChefDK. Please note that Vagrant
Berkshelf
works best when used with the ChefDK, and other installation methods are not
officially supported.

Please download and install the latest version of the ChefDK from:

https://downloads.getchef.com/chef-dk

and follow the installation instructions. Do not forget to add the ChefDK to
your PATH.

Doug


#2

On Wednesday, December 3, 2014 at 8:03 AM, Douglas Garstang wrote:

So… who’s seen this with a ‘vagrant up’?

I reinstalled everything… VirtualBox, vagrant, chefdk, vagrant plugs etc yesterday. Only happening with this one cookbook.

Douglass-MacBook-Pro:slice-base doug$ vagrant provision
==> default: Loading Berkshelf datafile…
==> default: Sharing cookbooks with VM
==> default: Updating Vagrant’s Berkshelf…
The following berks command failed to execute:

/usr/bin/berks vendor /Users/doug/.berkshelf/vagrant-berkshelf/shelves/berkshelf20141203-7419-k0xtm1-default --berksfile /Users/doug/git/chef/chef-cookbooks/slice-base/Berksfile

The stdout and stderr are shown below:

stdout: Resolving cookbook dependencies…
stderr: /opt/chefdk/embedded/lib/ruby/2.1.0/fileutils.rb:1402:in initialize': Permission denied @ rb_sysopen - /Users/doug/.berkshelf/vagrant-berkshelf/shelves/berkshelf20141203-7419-k0xtm1-default/chef-solo-search/.git/objects/pack/pack-01bc017603cf76234865cc984f8f23e853190a3c.idx (Errno::EACCES) from /opt/chefdk/embedded/lib/ruby/2.1.0/fileutils.rb:1402:inopen’
from /opt/chefdk/embedded/lib/ruby/2.1.0/fileutils.rb:1402:in block in copy_file' from /opt/chefdk/embedded/lib/ruby/2.1.0/fileutils.rb:1401:inopen’
from /opt/chefdk/embedded/lib/ruby/2.1.0/fileutils.rb:1401:in copy_file' from /opt/chefdk/embedded/lib/ruby/2.1.0/fileutils.rb:483:incopy_file’
from /opt/chefdk/embedded/lib/ruby/2.1.0/fileutils.rb:400:in block in cp' from /opt/chefdk/embedded/lib/ruby/2.1.0/fileutils.rb:1579:inblock in fu_each_src_dest’
from /opt/chefdk/embedded/lib/ruby/2.1.0/fileutils.rb:1595:in fu_each_src_dest0' from /opt/chefdk/embedded/lib/ruby/2.1.0/fileutils.rb:1577:infu_each_src_dest’
from /opt/chefdk/embedded/lib/ruby/2.1.0/fileutils.rb:399:in cp' from /opt/chefdk/embedded/apps/berkshelf/lib/berkshelf/file_syncer.rb:88:inblock in sync’
from /opt/chefdk/embedded/apps/berkshelf/lib/berkshelf/file_syncer.rb:71:in each' from /opt/chefdk/embedded/apps/berkshelf/lib/berkshelf/file_syncer.rb:71:insync’
from /opt/chefdk/embedded/apps/berkshelf/lib/berkshelf/berksfile.rb:617:in block in vendor' from /opt/chefdk/embedded/lib/ruby/2.1.0/tmpdir.rb:88:inmktmpdir’
from /opt/chefdk/embedded/apps/berkshelf/lib/berkshelf/berksfile.rb:577:in vendor' from /opt/chefdk/embedded/apps/berkshelf/lib/berkshelf/cli.rb:387:invendor’
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor/command.rb:27:in run' from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor/invocation.rb:126:ininvoke_command’
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor.rb:359:in dispatch' from /opt/chefdk/embedded/apps/berkshelf/lib/berkshelf/cli.rb:52:indispatch’
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor/base.rb:440:in start' from /opt/chefdk/embedded/apps/berkshelf/lib/berkshelf/cli.rb:27:inexecute!‘
from /opt/chefdk/embedded/apps/berkshelf/bin/berks:5:in <top (required)>' from /usr/bin/berks:38:inload’
from /usr/bin/berks:38:in `’

It appears that you are not using the ChefDK. Please note that Vagrant Berkshelf
works best when used with the ChefDK, and other installation methods are not
officially supported.

Please download and install the latest version of the ChefDK from:

https://downloads.getchef.com/chef-dk

and follow the installation instructions. Do not forget to add the ChefDK to
your PATH.

Doug

This file appears to be owned by root and you’re not allowed to read it:

/Users/doug/.berkshelf/vagrant-berkshelf/shelves/berkshelf20141203-7419-k0xtm1-default/chef-solo-search/.git/objects/pack/pack-01bc017603cf76234865cc984f8f23e853190a3c.idx

Try running chown -R on your ~/.berkshelf directory.


Daniel DeLeo


#3

That looks like a regular permissions error. Did you run a git operation (directly or through another tool) as root or another user in that directory? Who’s the owner of that directory now?

Sent from my iPhone

On Dec 3, 2014, at 11:03 AM, Douglas Garstang doug.garstang@gmail.com wrote:

So… who’s seen this with a ‘vagrant up’?

I reinstalled everything… VirtualBox, vagrant, chefdk, vagrant plugs etc yesterday. Only happening with this one cookbook.

Douglass-MacBook-Pro:slice-base doug$ vagrant provision
==> default: Loading Berkshelf datafile…
==> default: Sharing cookbooks with VM
==> default: Updating Vagrant’s Berkshelf…
The following berks command failed to execute:

/usr/bin/berks vendor /Users/doug/.berkshelf/vagrant-berkshelf/shelves/berkshelf20141203-7419-k0xtm1-default --berksfile /Users/doug/git/chef/chef-cookbooks/slice-base/Berksfile

The stdout and stderr are shown below:

stdout: Resolving cookbook dependencies...

Fetching ‘slice-aws-ephemeral’ from source at …/slice-aws-ephemeral
Fetching ‘slice-awscli’ from source at …/slice-awscli
Fetching ‘slice-base’ from source at .
Fetching ‘slice-chef-client’ from source at …/slice-chef-client
Fetching ‘slice-hostname’ from source at …/slice-hostname
Fetching ‘slice-ldap’ from source at …/slice-ldap
Fetching ‘slice-motd’ from source at …/slice-motd
Fetching ‘slice-nrpe’ from source at …/slice-nrpe
Fetching ‘slice-openssh’ from source at …/slice-openssh
Fetching ‘slice-sudo’ from source at …/slice-sudo
Fetching ‘slice-swap’ from source at …/slice-swap
Using build-essential (2.1.0)
Using chef-solo-search (0.5.1) from https://github.com/edelight/chef-solo-search.git (at master)
Using chef-client (3.6.0)
Using file (2.0.0) from https://github.com/jenssegers/chef-file.git (at master)
Using iptables (0.14.0)
Using chef_handler (1.1.6)
Using lvm (1.2.2)
Using nrpe (1.4.4)
Using cron (1.6.0)
Using ohai (2.0.1)
Using python (1.4.6)
Using logrotate (1.7.0)
Using openssh (1.3.4)
Using slice-aws-ephemeral (0.1.3) from source at …/slice-aws-ephemeral
Using slice-chef-client (0.1.19) from source at …/slice-chef-client
Using slice-base (1.0.31) from source at .
Using slice-awscli (0.1.1) from source at …/slice-awscli
Using slice-ldap (0.1.25) from source at …/slice-ldap
Using slice-nrpe (0.1.20) from source at …/slice-nrpe
Using slice-hostname (0.1.17) from source at …/slice-hostname
Using slice-openssh (0.1.3) from source at …/slice-openssh
Using sudo (2.7.0)
Using swap (0.3.8)
Using yum (3.3.2)
Using yum-epel (0.5.1)
Using slice-swap (0.1.6) from source at …/slice-swap
Using hostsfile (2.4.5)
Using slice-sudo (0.1.8) from source at …/slice-sudo
Using slice-motd (0.0.3) from source at …/slice-motd
Vendoring build-essential (2.1.0) to /Users/doug/.berkshelf/vagrant-berkshelf/shelves/berkshelf20141203-7419-k0xtm1-default/build-essential
Vendoring chef-client (3.6.0) to /Users/doug/.berkshelf/vagrant-berkshelf/shelves/berkshelf20141203-7419-k0xtm1-default/chef-client
Vendoring chef-solo-search (0.5.1) to /Users/doug/.berkshelf/vagrant-berkshelf/shelves/berkshelf20141203-7419-k0xtm1-default/chef-solo-search
Vendoring chef_handler (1.1.6) to /Users/doug/.berkshelf/vagrant-berkshelf/shelves/berkshelf20141203-7419-k0xtm1-default/chef_handler
Vendoring cron (1.6.0) to /Users/doug/.berkshelf/vagrant-berkshelf/shelves/berkshelf20141203-7419-k0xtm1-default/cron
Vendoring file (2.0.0) to /Users/doug/.berkshelf/vagrant-berkshelf/shelves/berkshelf20141203-7419-k0xtm1-default/file
Vendoring hostsfile (2.4.5) to /Users/doug/.berkshelf/vagrant-berkshelf/shelves/berkshelf20141203-7419-k0xtm1-default/hostsfile
Vendoring iptables (0.14.0) to /Users/doug/.berkshelf/vagrant-berkshelf/shelves/berkshelf20141203-7419-k0xtm1-default/iptables
Vendoring logrotate (1.7.0) to /Users/doug/.berkshelf/vagrant-berkshelf/shelves/berkshelf20141203-7419-k0xtm1-default/logrotate
Vendoring lvm (1.2.2) to /Users/doug/.berkshelf/vagrant-berkshelf/shelves/berkshelf20141203-7419-k0xtm1-default/lvm
Vendoring nrpe (1.4.4) to /Users/doug/.berkshelf/vagrant-berkshelf/shelves/berkshelf20141203-7419-k0xtm1-default/nrpe
Vendoring ohai (2.0.1) to /Users/doug/.berkshelf/vagrant-berkshelf/shelves/berkshelf20141203-7419-k0xtm1-default/ohai
Vendoring openssh (1.3.4) to /Users/doug/.berkshelf/vagrant-berkshelf/shelves/berkshelf20141203-7419-k0xtm1-default/openssh
Vendoring python (1.4.6) to /Users/doug/.berkshelf/vagrant-berkshelf/shelves/berkshelf20141203-7419-k0xtm1-default/python
Vendoring slice-aws-ephemeral (0.1.3) to /Users/doug/.berkshelf/vagrant-berkshelf/shelves/berkshelf20141203-7419-k0xtm1-default/slice-aws-ephemeral
Vendoring slice-awscli (0.1.1) to /Users/doug/.berkshelf/vagrant-berkshelf/shelves/berkshelf20141203-7419-k0xtm1-default/slice-awscli
Vendoring slice-base (1.0.31) to /Users/doug/.berkshelf/vagrant-berkshelf/shelves/berkshelf20141203-7419-k0xtm1-default/slice-base
Vendoring slice-chef-client (0.1.19) to /Users/doug/.berkshelf/vagrant-berkshelf/shelves/berkshelf20141203-7419-k0xtm1-default/slice-chef-client
Vendoring slice-hostname (0.1.17) to /Users/doug/.berkshelf/vagrant-berkshelf/shelves/berkshelf20141203-7419-k0xtm1-default/slice-hostname
Vendoring slice-ldap (0.1.25) to /Users/doug/.berkshelf/vagrant-berkshelf/shelves/berkshelf20141203-7419-k0xtm1-default/slice-ldap
Vendoring slice-motd (0.0.3) to /Users/doug/.berkshelf/vagrant-berkshelf/shelves/berkshelf20141203-7419-k0xtm1-default/slice-motd
Vendoring slice-nrpe (0.1.20) to /Users/doug/.berkshelf/vagrant-berkshelf/shelves/berkshelf20141203-7419-k0xtm1-default/slice-nrpe
Vendoring slice-openssh (0.1.3) to /Users/doug/.berkshelf/vagrant-berkshelf/shelves/berkshelf20141203-7419-k0xtm1-default/slice-openssh
Vendoring slice-sudo (0.1.8) to /Users/doug/.berkshelf/vagrant-berkshelf/shelves/berkshelf20141203-7419-k0xtm1-default/slice-sudo
Vendoring slice-swap (0.1.6) to /Users/doug/.berkshelf/vagrant-berkshelf/shelves/berkshelf20141203-7419-k0xtm1-default/slice-swap
Vendoring sudo (2.7.0) to /Users/doug/.berkshelf/vagrant-berkshelf/shelves/berkshelf20141203-7419-k0xtm1-default/sudo
Vendoring swap (0.3.8) to /Users/doug/.berkshelf/vagrant-berkshelf/shelves/berkshelf20141203-7419-k0xtm1-default/swap
Vendoring yum (3.3.2) to /Users/doug/.berkshelf/vagrant-berkshelf/shelves/berkshelf20141203-7419-k0xtm1-default/yum
Vendoring yum-epel (0.5.1) to /Users/doug/.berkshelf/vagrant-berkshelf/shelves/berkshelf20141203-7419-k0xtm1-default/yum-epel

stderr: /opt/chefdk/embedded/lib/ruby/2.1.0/fileutils.rb:1402:in `initialize': Permission denied @ rb_sysopen - /Users/doug/.berkshelf/vagrant-berkshelf/shelves/berkshelf20141203-7419-k0xtm1-default/chef-solo-search/.git/objects/pack/pack-01bc017603cf76234865cc984f8f23e853190a3c.idx (Errno::EACCES)
from /opt/chefdk/embedded/lib/ruby/2.1.0/fileutils.rb:1402:in `open'
from /opt/chefdk/embedded/lib/ruby/2.1.0/fileutils.rb:1402:in `block in copy_file'
from /opt/chefdk/embedded/lib/ruby/2.1.0/fileutils.rb:1401:in `open'
from /opt/chefdk/embedded/lib/ruby/2.1.0/fileutils.rb:1401:in `copy_file'
from /opt/chefdk/embedded/lib/ruby/2.1.0/fileutils.rb:483:in `copy_file'
from /opt/chefdk/embedded/lib/ruby/2.1.0/fileutils.rb:400:in `block in cp'
from /opt/chefdk/embedded/lib/ruby/2.1.0/fileutils.rb:1579:in `block in fu_each_src_dest'
from /opt/chefdk/embedded/lib/ruby/2.1.0/fileutils.rb:1595:in `fu_each_src_dest0'
from /opt/chefdk/embedded/lib/ruby/2.1.0/fileutils.rb:1577:in `fu_each_src_dest'
from /opt/chefdk/embedded/lib/ruby/2.1.0/fileutils.rb:399:in `cp'
from /opt/chefdk/embedded/apps/berkshelf/lib/berkshelf/file_syncer.rb:88:in `block in sync'
from /opt/chefdk/embedded/apps/berkshelf/lib/berkshelf/file_syncer.rb:71:in `each'
from /opt/chefdk/embedded/apps/berkshelf/lib/berkshelf/file_syncer.rb:71:in `sync'
from /opt/chefdk/embedded/apps/berkshelf/lib/berkshelf/berksfile.rb:617:in `block in vendor'
from /opt/chefdk/embedded/lib/ruby/2.1.0/tmpdir.rb:88:in `mktmpdir'
from /opt/chefdk/embedded/apps/berkshelf/lib/berkshelf/berksfile.rb:577:in `vendor'
from /opt/chefdk/embedded/apps/berkshelf/lib/berkshelf/cli.rb:387:in `vendor'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor/command.rb:27:in `run'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor/invocation.rb:126:in `invoke_command'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor.rb:359:in `dispatch'
from /opt/chefdk/embedded/apps/berkshelf/lib/berkshelf/cli.rb:52:in `dispatch'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor/base.rb:440:in `start'
from /opt/chefdk/embedded/apps/berkshelf/lib/berkshelf/cli.rb:27:in `execute!'
from /opt/chefdk/embedded/apps/berkshelf/bin/berks:5:in `<top (required)>'
from /usr/bin/berks:38:in `load'
from /usr/bin/berks:38:in `<main>'

It appears that you are not using the ChefDK. Please note that Vagrant Berkshelf
works best when used with the ChefDK, and other installation methods are not
officially supported.

Please download and install the latest version of the ChefDK from:

https://downloads.getchef.com/chef-dk

and follow the installation instructions. Do not forget to add the ChefDK to
your PATH.

Doug