Hi,
i run bamboo on my server besides tomcat and i want to make a copy command from "script" task of bamboo to the tcat webapps folder.
If i run (inline script):
cp /var/atlassian/../TestApp.war /opt/tomcat/webapps
cp: cannot stat '/opt/tomcat/webapps/TestApp.war': Permission denied
If i run the shell:
su - bamboo
cp /var/atlassian/../TestApp.war /opt/tomcat/webapps
=> everthing is fine
background:
- Also tried with file script => same result
- bamboo is owner of the tomcat folder (&webapps)
- bamboo is owner of his home dir and the build dir
I am at a loss. The entire configuration was a homerun. A line script stops everything.
Thank you in advance! Cheers for Atlassian and their incredible products!
Marco