# Job fails with "Permission denied"

**URL:** <https://forum.ansible.com/t/job-fails-with-permission-denied/27915>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [June 29, 2018, 3:38pm UTC](https://forum.ansible.com/t/job-fails-with-permission-denied/27915 "2018-06-29T15:38:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dyioulos](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/dyioulos/32/8363_2.png) [@dyioulos](https://forum.ansible.com/u/dyioulos)\
**Post date:** [June 29, 2018, 3:38pm UTC](https://forum.ansible.com/t/job-fails-with-permission-denied/27915/1 "2018-06-29T15:38:43Z")

</div>

I’ve just set up AWX, and have followed various tutorials to try and create my first job. But, regardless of what I’ve tried, the job fails, with the following output:

Identity added: /tmp/awx\_11\_LtlnJ0/credential\_2 (/tmp/awx\_11\_LtlnJ0/credential\_2)

Using /etc/ansible/ansible.cfg as config file

SSH password:

**ERROR! Attempted to execute “/tmp/awx\_11\_LtlnJ0/tmp0bgA6h” as inventory script: problem running /tmp/awx\_11\_LtlnJ0/tmp0bgA6h --list ([Errno 13] Permission denied)**

Here are the job details:

STATUS FAILED

STARTED 6/29/2018 10:59:28 AM

FINISHED 6/29/2018 10:59:30 AM

TEMPLATE AWX TEST

JOB TYPE RUN

LAUNCHED BY ADMIN

INVENTORY AWX LOCAL

PROJECT AWX TEST

PLAYBOOK OSADAUTH.YML

MACHINE CREDENTIAL A-SCRIPTING

FORKS 0

VERBOSITY 4 (CONNECTION DEBUG)

INSTANCE GROUP TOWER

Help would be greatly appreciated,

---

<div class="post-metadata">

**Author:** ![Christopher\_Meyers](https://avatars.discourse-cdn.com/v4/letter/c/3e96dc/32.png) [@Christopher\_Meyers](https://forum.ansible.com/u/Christopher_Meyers)\
**Post date:** [June 29, 2018, 4:49pm UTC](https://forum.ansible.com/t/job-fails-with-permission-denied/27915/2 "2018-06-29T16:49:05Z")

</div>

The /tmp directory needs to be mounted with execute permissions.

---

<div class="post-metadata">

**Author:** ![dyioulos](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/dyioulos/32/8363_2.png) [@dyioulos](https://forum.ansible.com/u/dyioulos)\
**Post date:** [June 29, 2018, 5:04pm UTC](https://forum.ansible.com/t/job-fails-with-permission-denied/27915/3 "2018-06-29T17:04:31Z")

</div>

It is.
