Welcome to the Jazz Community Forum
Linux cp -f command is not getting executed in RTC Build Definition

Build is happening in Linux server. We usually request build from Windows RTC Eclipse client
and it invokes the commands on Linux Server internally. The ls -l command is working fine
but the command cp -f is not getting executed. Please provide solution if you have already
faced this issue.
in RTC Eclipse Client
Builds-->Test_Build-->Build Definition-->"CommandLine" Tab--> "Command" field -- here in
this field if we give cp -f command it is not invoking. Please help
Comments
Donald Nong
Jun 16 '17, 5:43 a.m.How can you tell it is not invoked? What if it has been invoked but failed?
madhan kumar
Jun 16 '17, 5:52 a.m.Thanks Donald, I was confused it is actually getting failed, the execution stops at initial stage for CP command but for ls -l command it takes reasonable time to run the build and that too successful. Please help
Alan Sampson
JAZZ DEVELOPER Jun 16 '17, 11:31 a.m.Have you checked permissions? Does the build user have the appropriate rights to copy the file to the target directory?
Did you try the operation outside of the build?
madhan kumar
Jun 19 '17, 5:19 a.m.Hi Allan,
Lakshmi Narasimhan T V
JAZZ DEVELOPER Jun 19 '17, 6:33 a.m.The cp -f command runs in the context of the machine user who runs the JBE process. Did you try to manually execute the command as the machine user who owns the JBE process?