Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I trying to install RVM using deployer user that doesn't had root privileges ant I getting this error:

bash: line 439: ./scripts/install: Permission denied

Any help? Thank you!

share|improve this question

closed as not a real question by Michael Hampton, voretaq7 Dec 13 '12 at 4:41

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. If this question can be reworded to fit the rules in the help center, please edit the question.

    
Be root? What do you think we're going to tell you -- Installing rvm pretty much requires administrative (root) privileges. –  voretaq7 Dec 13 '12 at 4:41
    
In RVM site: "Single-User installations (recommended) - For an isolated install within a user's $HOME, not for root." rvm.io/rvm/install –  Rodrigo Dec 13 '12 at 11:58
1  
Multi-User installations - For server administrators <- ; If you're talking about installing it for your personal use it's really more a question for Unix & Linux than Server Fault. Your question is also poorly asked (you're just throwing an error message at us - you don't tell us what command you ran to get it, or what you've looked at to try to debug it on your own), hence "Not A Real Question" instead of off-topic. If you disagree with the close please open a discussion on meta.serverfault.com –  voretaq7 Dec 13 '12 at 18:34
    
You're absolutely right! –  Rodrigo Dec 13 '12 at 18:42

2 Answers 2

You should be able to do a non-multiuser install without root privileges. Are you starting with this command?

 curl -L https://get.rvm.io | bash -s stable

If so and that's what's failing, can you run the command again with the debug info enabled

 curl -L https://get.rvm.io | bash -s -- --trace
share|improve this answer

If you don't have root you can't do it. There is no way of bypassing the security mechanism. Linux/Unix don't allow a non privileged user to do a task which requires elevated privileges.

In short unless you can get root.

share|improve this answer
    
rvm.io/rvm/install: "Single-User installations (recommended) - For an isolated install within a user's $HOME, not for root." –  Rodrigo Dec 13 '12 at 11:59
1  
Yes, your observation about unix security applies in general, but not to the question. RVM runs within the non-root user's context. The OP is initiating the installation incorrectly somehow. –  cjc Dec 13 '12 at 12:06

Not the answer you're looking for? Browse other questions tagged or ask your own question.