Skip to content
This repository has been archived by the owner on Jul 14, 2021. It is now read-only.

permissions end up incorrect after install chef-dk on MacOS X #19

Closed
heckj opened this issue Apr 22, 2014 · 1 comment
Closed

permissions end up incorrect after install chef-dk on MacOS X #19

heckj opened this issue Apr 22, 2014 · 1 comment

Comments

@heckj
Copy link

heckj commented Apr 22, 2014

I grabbed and installed Chef-DK on my mac this afternoon, then immediately went to install the knife-windows plugin using the "chef gem" command.

The result:

$ chef gem install knife-windows
Fetching: uuidtools-2.1.4.gem (100%)
ERROR:  While executing gem ... (Gem::FilePermissionError)
    You don't have write permissions for the /opt/chefdk/embedded/lib/ruby/gems/2.1.0 directory.

The workaround I used was to change permissions on /op/chefdk to have myself as owner:

sudo chown -R $USER /opt/chefdk

should be a relatively simple fix in the installer when it's dropping things into place. I'm presuming we should be enabled to "gem update" and "gem install".

@heckj
Copy link
Author

heckj commented Apr 22, 2014

nevermind, duplicate of #11

@heckj heckj closed this as completed Apr 22, 2014
@danielsdeleo danielsdeleo modified the milestone: 0.1.0 Apr 29, 2014
@chef-boneyard chef-boneyard locked and limited conversation to collaborators Feb 14, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants