Execute script remotely using ctl-exec -s

16 views
Skip to first unread message

Serban Alexe

unread,
Nov 19, 2009, 5:34:01 AM11/19/09
to ControlTier
Hello,
I have the ControlTier server running on a windowsXP machine, and a
client on a Windows Server 2003; CygWin with SSH is running ok, I was
able to invoke system commands (eg: ctl-exec -- netstat) .

I have a "test.bat" file which I'm trying to execute on the client,
using the command
ctl-exec -I node_name -s test.bat

The problem is that the file "test.bat" is created succesfully on the
remote machine, BUT without the needed permissions: only "Read",
without the neccesary "Execute" enabled.

The result: error: Remote command failed with exit status 126 .

Can anybody tell me how work around this problem ?

Thank You.

Alex-SF

unread,
Nov 19, 2009, 3:58:35 PM11/19/09
to ControlTier
Hi Serban,
Could you log this as a bug? http://sourceforge.net/tracker/?group_id=151079&atid=779847

Serban Alexe

unread,
Nov 20, 2009, 4:09:07 AM11/20/09
to ControlTier
Done.

Bug 2901016: "ctl-exec -s script_name" permissions issue .

Thank You.

On Nov 19, 10:58 pm, Alex-SF <aho...@users.sourceforge.net> wrote:
> Hi Serban,
> Could you log this as a bug?http://sourceforge.net/tracker/?group_id=151079&atid=779847
Reply all
Reply to author
Forward
0 new messages