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

Wrong permissions for ruby-build folder #12

Closed
ognevsky opened this issue Nov 11, 2012 · 2 comments
Closed

Wrong permissions for ruby-build folder #12

ognevsky opened this issue Nov 11, 2012 · 2 comments

Comments

@ognevsky
Copy link

Hi,

I don't know if there is any error, but I have an issue with this https://github.com/RiotGames/rbenv-cookbook/blob/master/recipes/ruby_build.rb#L24

So, for the first time ruby-build folder is created with root:root permissions. During the next cooking I got an exception (because the ruby-build folder cannot be deleted). So, I need to change those permissions by hand (or remove this folder manually).

I think it's wrong behavior, but I don't know how to fix this (except hardcoding my user and group).

Thanks,
Andrey Ognevsky

@deepak
Copy link
Contributor

deepak commented Dec 5, 2012

by default ruby-build is installed to /usr/local

i install it on top of rbenv ie.node.set[:ruby_build][:prefix] = node[:rbenv][:root]

@ognevsky
Copy link
Author

ognevsky commented Dec 5, 2012

It's knife-solo problem: matschaffer/knife-solo#86, i had to close it here, sorry for that.

@ognevsky ognevsky closed this as completed Dec 5, 2012
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