Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Make the file_cache_path directory configurable #36
When the cookbook is running as root, chef sets the chef directory (top
$ sudo ls -ld chef chef/cache chef/cache/homebrew_go
In general it might be a better idea to download the homebrew_go script
I'm using chefdk with chef 11.14.0.alpha.1 running chef-solo with sudo.
This will set the permissions of
I couldn't reproduce this, the permissions on the cache directory and homebrew_go were such I could read the file as a non-root user.
The resource for the script sets mode
remote_file homebrew_go do source 'https://raw.github.com/Homebrew/homebrew/go/install' mode 00755 end
The method inside Chef that creates the
I don't think we should add another attribute to the cookbook. If you're executing as root, and can't resolve this issue, perhaps another recipe that does this: