# Permession denied error when running a Job in AAP 2.5

**URL:** <https://forum.ansible.com/t/permession-denied-error-when-running-a-job-in-aap-2-5/41572>\
**Category:** Get Help\
**Tags:** aap, awx\
**Created:** [April 7, 2025, 2:10pm UTC](https://forum.ansible.com/t/permession-denied-error-when-running-a-job-in-aap-2-5/41572 "2025-04-07T14:10:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![maguy](https://avatars.discourse-cdn.com/v4/letter/m/e495f1/32.png) [@maguy](https://forum.ansible.com/u/maguy)\
**Post date:** [April 7, 2025, 2:10pm UTC](https://forum.ansible.com/t/permession-denied-error-when-running-a-job-in-aap-2-5/41572/1 "2025-04-07T14:10:35Z")

</div>

Hello!  
Im trying to run my project: cisco\_backup in AAP but getting the below error knowing that /home/maguy/aap/controller/data/projects/ is the base path of the projects.  
I gave awx all needed permissions (chmod o+x /home/maguy) and when i try the below touch command i get no errors:

[maguy@test ~]$ sudo -u awx touch /home/maguy/aap/controller/data/projects/cisco\_backup.lock  
[maguy@test ~]$

Any recommendations on how to troubleshoot the permission denied error?

---

<div class="post-metadata">

**Author:** ![anon81884396](https://avatars.discourse-cdn.com/v4/letter/a/b782af/32.png) [@anon81884396](https://forum.ansible.com/u/anon81884396)\
**Post date:** [April 7, 2025, 7:04pm UTC](https://forum.ansible.com/t/permession-denied-error-when-running-a-job-in-aap-2-5/41572/2 "2025-04-07T19:04:24Z")

</div>

Please post the entire Ansible error, ideally with max verbosity and removing any sensitive info

---

<div class="post-metadata">

**Author:** ![maguy](https://avatars.discourse-cdn.com/v4/letter/m/e495f1/32.png) [@maguy](https://forum.ansible.com/u/maguy)\
**Post date:** [April 8, 2025, 5:34am UTC](https://forum.ansible.com/t/permession-denied-error-when-running-a-job-in-aap-2-5/41572/3 "2025-04-08T05:34:13Z")

</div>

Hello,

Im getting the below error:

Traceback (most recent call last):  
File “/var/lib/awx/venv/awx/lib64/python3.9/site-packages/awx/main/tasks/jobs.py”, line 492, in run  
self.build\_project\_dir(self.instance, private\_data\_dir)  
File “/var/lib/awx/venv/awx/lib64/python3.9/site-packages/awx/main/tasks/jobs.py”, line 1086, in build\_project\_dir  
self.sync\_and\_copy(job.project, private\_data\_dir, scm\_branch=job.scm\_branch)  
File “/var/lib/awx/venv/awx/lib64/python3.9/site-packages/awx/main/tasks/jobs.py”, line 765, in sync\_and\_copy  
self.acquire\_lock(project, self.instance.id)  
File “/var/lib/awx/venv/awx/lib64/python3.9/site-packages/awx/main/tasks/jobs.py”, line 388, in acquire\_lock  
self.lock\_fd = os.open(lock\_path, os.O\_RDWR | os.O\_CREAT)  
PermissionError: [Errno 13] Permission denied: ‘/home/maguy/aap/controller/data/projects/cisco\_backup.lock’
