Closed bunchc closed 10 years ago
Well, we don't chown
any directory from vagrant-cachier, we only chmod the root directory where buckets are stored. There is some chown
action on Vagrant itself and it is likely that the error is coming from there.
Would you be able to put up an example Vagrantfile reproducing the issue so that we can dig deeper?
Vagrantfile: https://gist.github.com/anonymous/9389201
I'm getting the same error too: VagrantFile: https://gist.github.com/erasmose/9539182
Ok folks I can't reproduce this with latest 0.7.0. Please upgrade your vagrant installation to the latest version if possible and give 0.7.0 a try. If you guys still have trouble, please try to set up a minimal Vagrantfile that reproduces the issue so we can collaborate on a fix.
I hope you guys don't mind but for now I'll close the issue but I'm happy to continue the discussion either here or on a separate issue if someone is able to set up that minimal Vagrantfile.
So, after installing chef, I run into the following, which is very similar to #53. The relevant sections of my Vagrantfile are here (https://gist.github.com/anonymous/9368298).
Setting up chef (11.10.4-1.ubuntu.12.04) ... Thank you for installing Chef! [rpcs-controller] Configuring cache buckets... [rpcs-controller] Running provisioner: chef_client... The following SSH command responded with a non-zero exit status. Vagrant assumes that this means the command failed!
chown vagrant /var/chef/cache
Stdout from the command:
Stderr from the command:
stdin: is not a tty chown: changing ownership of `/var/chef/cache': Operation not permitted