Question
3
Replies
23
Views
Posted: March 10, 2020
Last activity: March 11, 2020
BIX file creation as non-root user
Hi There,
I have an Extract rule that create an XML file in the local filesystem as root.
[tmp]$ ls -la bix* -rw-r----- 1 root root 424874 Mar 9 16:25 bix_DMOrg_PDU_Work_xml.xml
As non-administrator of the operating system I have no root access or sudo privilege. I couldn't find a way to configure the rule to use a different user.
Any idea on how can I achieve that?
Cheers.
***Edited by Moderator: Pallavi to update platform capability tags***
Hi,
If the extract XML is generated thru running Extract rule directly from Pega, there is no other way to change as your java process(JVM) is started using root user and the same user account will be used to create files.
Either change the user to non-root user to start the app server(JVM) OR execute the BIX extract from CLI with desired user so that you have full control on the generated files.
Let me know if that clarifies.