When an SFTP job runs it will complete but may get a 'Permission denied' error at the end. When the WA Agent send commands such delete or rename at the end of the file transfer the user may not have permissions.
Release : 12.2
Component : CA WORKLOAD AUTOMATION DE (DSERIES)
The user connecting to remote host may not have permission to delete or rename the remote file. Check for adequate space in the remote host.
If the file transfer is completing but jobs fails because it is unable to delete, rename or move remote files then check permission.
Connect to remote host manually (ssh/sftp client) as the same user defined in the SFTP job and see if the user has proper permissions.