# Failed to create temporary directory - AWX 24.6.0

**URL:** <https://forum.ansible.com/t/failed-to-create-temporary-directory-awx-24-6-0/43448>\
**Category:** Get Help\
**Tags:** ansible, awx, ee, linux\
**Created:** [June 17, 2025, 7:45pm UTC](https://forum.ansible.com/t/failed-to-create-temporary-directory-awx-24-6-0/43448 "2025-06-17T19:45:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![thirumalairaja](https://avatars.discourse-cdn.com/v4/letter/t/c6cbf5/32.png) [@thirumalairaja](https://forum.ansible.com/u/thirumalairaja)\
**Post date:** [June 17, 2025, 7:45pm UTC](https://forum.ansible.com/t/failed-to-create-temporary-directory-awx-24-6-0/43448/1 "2025-06-17T19:45:25Z")

</div>

Hi Tem,

Could you please guide me on the intermittent issue I’m facing?

We’re using AWX 24.6.0 with execution environment `core 2.14.11`.

> Note: The problem is I’m unable to create `ansible.cfg` in the root directory of a project, as it’s based on someone else’s repository.

Your help would be greatly appreciated.

error:

```auto
unreachable: true
msg: >-
  Failed to create temporary directory. In some cases, you may have been able to
  authenticate and did not have permissions on the target directory. Consider
  changing the remote tmp path in ansible.cfg to a path rooted in "/tmp", for
  more error information use -vvv. Failed command was: ( umask 77 && mkdir -p "`
  echo /home/efv-ansible/.ansible/tmp `"&& mkdir "` echo
  /home/efv-ansible/.ansible/tmp/ansible-tmp-1750185297.6444545-66-40004816797886
  `" && echo ansible-tmp-1750185297.6444545-66-40004816797886="` echo
  /home/efv-ansible/.ansible/tmp/ansible-tmp-1750185297.6444545-66-40004816797886
  `" ), exited with result 1
changed: false

```

---

<div class="post-metadata">

**Author:** ![jiholland](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/jiholland/32/11273_2.png) [@jiholland](https://forum.ansible.com/u/jiholland)\
**Post date:** [June 19, 2025, 7:29pm UTC](https://forum.ansible.com/t/failed-to-create-temporary-directory-awx-24-6-0/43448/2 "2025-06-19T19:29:18Z")

</div>

You can set the remote tmp path per host in inventory like this:  
`ansible_remote_tmp: "/tmp"`
