-
-
Notifications
You must be signed in to change notification settings - Fork 136
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
Files in /tmp Cannot be Executed in Centos 7 #155
Comments
This also affects Ubuntu 16.04.3. |
This seems to be still an issue .. workaround above works for me |
This is still an issue it seems. I just encountered the same error on CentOS 8. The above change seems to get it working perfectly. |
stevenhaddox
added a commit
to stevenhaddox/rvm1-ansible
that referenced
this issue
Nov 23, 2021
stevenhaddox
added a commit
to stevenhaddox/rvm1-ansible
that referenced
this issue
Mar 1, 2022
stevenhaddox
added a commit
to stevenhaddox/rvm1-ansible
that referenced
this issue
Mar 1, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
By default, on Centos 7, files in
/tmp
cannot be executed (even if chmod 777) because the filesystem mount prevents it. The result is that all attempts to install RVM fail:The solution is thankfully pretty simple - instead of running
/tmp/something
, just run/bin/bash /tmp/something
. Therefore, in tasks/rvm.yml, the task to install RVM becomes:Incidentally, using
shell
instead ofcommand
doesn't work either. As far as I can see, this minor change will be compatible with other distributions and versions though, so hopefully low-risk.The text was updated successfully, but these errors were encountered: