bash: /tmp/4-70-myhost-dispatch-script.tmp.sh: Permission denied Remote command failed with exit status 126 Failed: NonZeroResultCode: Remote command failed with exit status 126
--------
I first investigated this as a umask issue, but that doesn't seem to be it.
Shouldn't rundeck be smart enough to know that when it creates a /tmp script to execute remotely, it needs to enable execute permissions??
Thanks ahead of time for assistance!
Jeff
--
You received this message because you are subscribed to the Google Groups "rundeck-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rundeck-discuss+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rundeck-discuss/dbcf8f99-fb8c-4d6e-a577-494da7b0e82d%40googlegroups.com.
Alex Honor
[SimplifyOps, Inc | a...@simplifyops.com ]
Be sure to comment and vote on Rundeck Feature Development!
Hi Adam,Take a look here to override that /tmp location: http://rundeck.org/docs/plugins-user-guide/node-execution-plugins.html#file-copier-destination-directoryThanks
On Wed, Jan 18, 2017 at 11:42 AM, Adam Hamner <adamha...@gmail.com> wrote:
For anyone who encounters this, please take a look at your mount options for /tmp. I found that /tmp was mounted with the noexec option which caused this exact error case. I have not fixed this issue yet but I imagine I'd be able to specify where inline script dispatches are dumped on the target hosts.
On Monday, August 10, 2015 at 1:32:52 PM UTC-7, jeff mcdowell wrote:We recently installed rundeck, and are having the same issue on our hosts.If we run a workflow step as a "command", there is no issue.However, when we want some added complexity-- we may prefer to instead run a workflow item a script.When we do, the execution fails with a message like the one below:--------bash: /tmp/4-70-myhost-dispatch-script.tmp.sh: Permission denied Remote command failed with exit status 126 Failed: NonZeroResultCode: Remote command failed with exit status 126--------
I first investigated this as a umask issue, but that doesn't seem to be it.
Shouldn't rundeck be smart enough to know that when it creates a /tmp script to execute remotely, it needs to enable execute permissions??
Thanks ahead of time for assistance!
Jeff
On Monday, March 16, 2015 at 7:04:33 PM UTC-5, Csongor Gyuricza wrote:Step type command works fine, but incline scripts fail with error "Remote command failed with exit status 126". Any ideas?
--
You received this message because you are subscribed to the Google Groups "rundeck-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rundeck-discu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rundeck-discuss/dbcf8f99-fb8c-4d6e-a577-494da7b0e82d%40googlegroups.com.