Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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." – Rodrigo Dec 13 '12 at 11:58
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 – voretaq7 Dec 13 '12 at 18:34
You're absolutely right! – Rodrigo Dec 13 '12 at 18:42

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

 curl -L | bash -s stable

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

 curl -L | 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 "Single-User installations (recommended) - For an isolated install within a user's $HOME, not for root." – Rodrigo Dec 13 '12 at 11:59
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.