Updating a File's Metadata
The following file attribute instructs CopyTarget to set the file ${TARGET_DIRECTORY}/file.txt
with permission 0644 and ownership nvidia:nvidia
, where ${TARGET_DIRECTORY}
is the target directory provided to CopyTarget.
fileList:
- destination: /file.txt
perm: 644
owner: nvidia
group: nvidia