Changing owner, owner group and / or permissions:
a) The owner of the file can be set for each file transfer as needed, by using a destination login object which contains the requested user.
b) There is no possibility to change the owner group via a setting within Automic - Changing the primary group of the user on Unix might be no acceptable solution.
c) There is no possibility to change the permissions via a setting within Automic.
Best practice is, changing owner group and / or permissions after the Filetransfer, if necessary. The easiest way is, to use the post-process tab of the file transfer object.
I've attached an example as xml-export, please have a look at it; here an explanation how it works:
In the "Variables & Prompts" tab different parameters for the destination are set:
Name of destination agent, which is used for the transfer and for the owner group and permissions change via post-process.
Destination path and file name(s) for the transfer - the owner group and permissions of this file(s) will be changed after the transfer finished.
Owner group which should be set.
Note: The file owner (set via login object) must be allowd to change the owner group this value!
Login object for transfer and for the owner group and permissions change.
Permissions which should be set.
In the "Post-Process" tab a so called "Prep_Process UNIXCMD" job is submitted, which runs a "chgrp" and "chgmod" command.
Note: This procedure will also work for wildcard Filetransfer. It may happen, that files which were in the destination directory before the transfer, are change too if the file name fits to the wildcard.