When using SCP/SFTP jobs to download files from a local machine to a UNC path and vice versa, they are failing with "Access is denied" errors. Why are SCP/SFTP jobs failing with "Access is denied" errors when downloading files from a local machine to a UNC path and vice versa?
CA Workload Automation AE
The owner of the executable file, cybAgent.bin, needs to have appropriate permissions on the source file (upload) or the target file (download).
Make sure those permissions are in place. When the job runs, the owner of the agent process that does the file transfer requires the correct permissions to be set.
Therefore, the logon of the service of the agent needs to have write permission on the target file.
By default, FTP/SFTP/SCP are internal to the agent, so they are executed as the user that started the agent.
1.- Set the appropriate permissions on the source file (upload) or target file (download) so the owner of the cybAgent.bin executable process can access it.
2.- Install a separate agent that runs as a specified user, and you use that agent just for these FTP/SFTP/SCP jobs.