Have created a step to deploy packages on a Linux target. All is set up.
When I start the deployment, it fails when Calimari start the copy of the package content to the install directory.
I get the following error:
Retry #1 on copy ‘/usr/local/lib/xxxxx/xxx.xxx.dll’. Exception: Access to the path “/home/ec2-user/.octopus/Applications/OctopusServer/Integration/Daemon/0.0.0.59_3/xxx.xxx.dll” or “/usr/local/lib/xxxxx/xxx.xxx.dlll” is denied.
I have checked manually on the target and the file exist in /home/ec2-user/.octopus/Applications/OctopusServer/…
Also I try to copy the file manually from one folder to the other and it failed with Permission denied.
So did the same with sudo and it worked.
The question is, how can we make Calamari/or the Octopus script (not the custom one) to use elevated privileges?