Hi Everyone,
I am running a BigFix Action to untar filename.tar.gz file in RHEL 9 servers.
But no untar action is made on the server.
Below is the code I have added. It is able to change permission. But it does not untar. I have verified by running manually on CLI. The command works.
// Update installer permissions
wait /bin/sh -c “/usr/bin/chmod 755 /tmp/filename.tar.gz”
wait /bin/sh -c “/usr/bin/tar -xzvf /tmp/filename.tar.gz”
I have tried another method below. It is able to change permission and unzip the file. But it does not untar.
// Update installer permissions
wait /bin/sh -c “/usr/bin/chmod 755 /tmp/filename.tar.gz”
wait /bin/sh -c “/usr/bin/gunzip /tmp/filename.tar.gz”
wait /bin/sh -c “/usr/bin/tar -xvf /tmp/filename.tar.gz”
Does anyone have any idea to solve this? Will appreciate help. Thank you everyone.