# Can I change INSTALL\_PATH for OneAgent dir on Kubernetes or openshift

**URL:** <https://community.dynatrace.com/t/can-i-change-install-path-for-oneagent-dir-on-kubernetes-or-openshift/21958>\
**Category:** Container platforms\
**Tags:** installation, openshift, oneagent, kubernetes\
**Created:** [September 18, 2019, 7:53am UTC](https://community.dynatrace.com/t/can-i-change-install-path-for-oneagent-dir-on-kubernetes-or-openshift/21958 "2019-09-18T07:53:42Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![niteen\_kole](https://avatars.discourse-cdn.com/v4/letter/n/47e85d/32.png) [@niteen\_kole](https://community.dynatrace.com/u/niteen_kole)\
**Post date:** [February 11, 2021, 2:04pm UTC](https://community.dynatrace.com/t/can-i-change-install-path-for-oneagent-dir-on-kubernetes-or-openshift/21958/8 "2021-02-11T14:04:04Z")

</div>

Presently we struggling can anyone help on below git you say we need to specify path.

> <https://github.com/Dynatrace/dynatrace-oneagent-operator/issues/342>
>
> The one agent deployment fails with
> \`\`\`
> 14:51:06 Started agent deployment as a… container, PID 164480.
> 14:51:06 Downloading agent to /tmp/Dynatrace-OneAgent-Linux.sh via https://qyr08949.live.dynatrace.com/api/v1/deployment/installer/agent/unix/default/latest?Api-Token=\*\*\*&arch=x86&flavor=default
> 14:51:07 Download was skipped as the agent version did not change
> 14:51:07 Verifying agent installer signature
> 14:51:10 Verification successful
> 14:51:10 Deploying to: /mnt/host\_root
> 14:51:10 Starting installer...
> 14:51:11 Checking root privileges...
> 14:51:11 OK
> 14:51:11 Error: Insufficient access rights (drwxr-x---) on: /var/log
> 14:51:11 Error: /var/log path must be globally traversable (--x permissions for others).
> 14:51:11 Error: Please adjust the permissions and then retry the installation.
> \`\`\`
> 
> When deployed in an environment that conforms to CIS health checks. The specific health check that causes this failure is
> \`Ensure permissions on all logfiles are configured\`
> 
> !\[Screen Shot 2020-11-11 at 6 32 17 PM (1)\](https://user-images.githubusercontent.com/7716924/99405373-5036f200-28b2-11eb-99e0-427fd9667985.png)
> 
> It is a part of health checks for all operating systems. That list for Ubuntu 18.04 is below:
> \[CIS\_Ubuntu\_Linux\_18.04\_LTS\_Benchmark\_v2.0.1.pdf\](https://github.com/Dynatrace/dynatrace-oneagent-operator/files/5554233/CIS\_Ubuntu\_Linux\_18.04\_LTS\_Benchmark\_v2.0.1.pdf)
> 
> Managed offerings under compliance regulations (IKS for example) require this check be implemented to maintain their audit posture.
> 
> Dynatrace should remove this check or at least account for the situation where the log directory is permissions \`740\`

We cannot make Dynatrace work on kubernetes and manually changing/modifying those permission will not be persistent when node get replace/scaled …

---

_[View the full topic](https://community.dynatrace.com/t/can-i-change-install-path-for-oneagent-dir-on-kubernetes-or-openshift/21958)._
