I can confirm this behavour since the latest 2.1 release ; 2.0 did not show this behavior. I haven't had time to fully track down this so did not yet submit a bug report but any script I try to execute using a '>' (with shell /bin/bash at least, I never use otherwise) just skips the '>' character.
Makes a lot of tasks quite difficult for us unfortunately, so for now I resort to putting scripts under /var/www/html/pub and fetch+execute those instead... -- Jan-Albert van Ree Jan-Albert van Ree Linux System Administrator MARIN Support Group E mailto:[email protected] T +31 317 49 35 48 MARIN 2, Haagsteeg, P.O. Box 28, 6700 AA Wageningen, The Netherlands T +31 317 49 39 11, F +31 317 49 32 45, I www.marin.nl ________________________________________ From: [email protected] <[email protected]> on behalf of Glennie, Jonathan - 0443 - MITLL <[email protected]> Sent: Monday, May 19, 2014 19:23 To: [email protected] Subject: Re: [Spacewalk-list] Running Remote Commands with ">>" In Script 2.1. I also ran into problems with comparison operators in if statements but I was able to switch to -lt or -lt. I would imagine that there has to be some sort of escape character in the WebUI that tells it to interprete the literal character, but for now it hasn't been a show stopper. _______________________________________________ Spacewalk-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-list
