Retain file's owner name after publishing through OpenDeploy

Hi Experts,

I am using Teamsite 16.6.1.1 installed on RHEL 7.7. My opendeploy is running with other user which is not root. Whenever I publish anything from one TS environment to other, files owner is getting updated with OpenDeploy user at destination. I am just wondering is there any parameter in OD which will preserve the file's owner name.

I have tried setting owner name using chmod command in DNR script but since it is filelist publishing couldn't get the vpath of published file.

<script cmd = "/u01/app/iw-home/TeamSite/bin/iwaccess set-owner '$targetPath' '$user'" async="no" />

<script cmd = "/usr/bin/chown '$user' '$targetPath' " async="no" />

Thanks,

NK

TeamSite Developer Resources

  • Docker Automation

  • LiveSite Content Services (LSCS) REST API

  • Single Page Application (SPA) Modules

  • TeamSite Add-ons

If you are interested in gaining full access to the content, you can register for a My Support account here.
image
OpenText CE Products
TeamSite
APIs