-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
RVM installation fails on Linux with symlinks permissions problem #2176
Comments
please try again with: \curl -L https://get.rvm.io | bash -s head --debug |
Trying again with head--please see https://gist.github.com/ekortright/6416089 |
hmm, can I see output from: |
|
please try this: ln -s /home/regtick/.rvm/src/rvm /home/regtick/.rvm/src/rvm-link && echo working || echo failed-$? |
|
aha! I do understand now, it fails for files that are links created before the targets they are linking to, so something like: cd /home/regtick/.rvm/src
ln -s rvm-link rvm-missing && echo working || echo failed-$? can you gist: |
Here's the man gtar output: https://gist.github.com/ekortright/6452737 |
ah I reversed the target with name: ln -s rvm-foo rvm-bar && echo working || echo failed-$? this one should fail |
ok trying something new: mkdir -p /home/regtick/.rvm/src/rvm_new
cd /home/regtick/.rvm/src/rvm_new
gtar xzf /home/regtick/.rvm/archives/wayneeseguin-rvm-master.tgz --no-same-owner --strip-components 1 --preserve-order && echo worked || echo failed-$? |
Yes, that reproduces the problem:
|
Also tried just creating a symbolic link when the target already exists:
|
the default behavior seems to be: $ cd ~/.rvm/src/
$ ln -s rvm-link rvm-missing && echo working || echo failed-$?
working
$ ls -ld rvm-link rvm-missing
ls: cannot access rvm-link: No such file or directory
lrwxrwxrwx 1 mpapis users 8 Sep 9 17:27 rvm-missing -> rvm-link and
but
so what your system does is not a proper behavior, symbolic links should not fail when target is missing, please contact your system provider for details how to fix it ... I would suggest updating it as Redhat 4.4 sounds very very old (8 years!) and acording to https://access.redhat.com/support/policy/updates/errata/#th-rhel4-phase3 is already |
... and unless you can provide a reason why we should provide support for this old (and broken) system I'm closing this ticket - please let me know if there is anything more here to do. |
Sigh. No, there is nothing more to do. Thanks for your help. |
FYI, the problem is not RedHat 4.4 - the |
how nice of them, I suggest you change provider to one that uses an up to date system and does not break it on purpose |
I've been trying to install rvm (single user, non-root), but keep getting permissions problems (gtar complains about not being able to create symlinks in the scripts directory).
I also recently started getting gateway timeout (curl return status 22) errors, but the symlink permissions problems have been there from the start.
Please see this gist showing the OS version and the result of two different attempts using the --debug flag: https://gist.github.com/ekortright/6390877
The text was updated successfully, but these errors were encountered: