# Corrupt file permissions in awx\_task containers

**URL:** <https://forum.ansible.com/t/corrupt-file-permissions-in-awx-task-containers/34298>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [December 8, 2020, 11:05am UTC](https://forum.ansible.com/t/corrupt-file-permissions-in-awx-task-containers/34298 "2020-12-08T11:05:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![JK11](https://avatars.discourse-cdn.com/v4/letter/j/7c8e57/32.png) [@JK11](https://forum.ansible.com/u/JK11)\
**Post date:** [December 8, 2020, 11:05am UTC](https://forum.ansible.com/t/corrupt-file-permissions-in-awx-task-containers/34298/1 "2020-12-08T11:05:41Z")

</div>

Hi all,  
After successfully installing the AWX 14.1 (same with 13 & 15.0 too), as evident from below log:

PLAY RECAP \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
localhost : ok=15 changed=7 unreachable=0 failed=0 skipped=86 rescued=0 ignored=0

there are errors reported in awx\_task logs for permission denied:  
**PermissionError: [Errno 13] Permission denied: ‘/etc/tower/conf.d/credentials.py’**

When checked in container, I see:  
**[root@awxlab installer]# docker exec -it awx\_task bash**

**bash-4.4# id**  
**uid=0(root) gid=0(root) groups=0(root)**  
**bash-4.4# ls -lrt /etc/tower**  
**ls: cannot access ‘/etc/tower/SECRET\_KEY’: Permission denied**  
**total 4**  
**-??? ? ? ? ? ? SECRET\_KEY**  
**-rwxr-xr-x. 1 root root 2976 Aug 25 16:39 settings.py**  
**drwxr-xr-x. 2 root root 50 Dec 8 10:52 conf.d**  
**bash-4.4# ls -lrt /etc/tower/conf.d/**  
**ls: cannot access ‘/etc/tower/conf.d/environment.sh’: Permission denied**  
**ls: cannot access ‘/etc/tower/conf.d/credentials.py’: Permission denied**  
**total 0**  
**-??? ? ? ? ? ? environment.sh**  
**-??? ? ? ? ? ? credentials.py**  
**bash-4.4#**

Can somebody help me here, please ?

---

<div class="post-metadata">

**Author:** ![JK11](https://avatars.discourse-cdn.com/v4/letter/j/7c8e57/32.png) [@JK11](https://forum.ansible.com/u/JK11)\
**Post date:** [December 8, 2020, 12:45pm UTC](https://forum.ansible.com/t/corrupt-file-permissions-in-awx-task-containers/34298/2 "2020-12-08T12:45:55Z")

</div>

Ok, so this is fixed.  
Was providing custom values for all the \*\_dir variables which was failing everything. After I ran the installation with defaults, everything was OK.
