# AWX not working after /var permissions changed

**URL:** <https://forum.ansible.com/t/awx-not-working-after-var-permissions-changed/6301>\
**Category:** Get Help\
**Tags:** aws, awx, ee\
**Created:** [June 11, 2024, 2:05pm UTC](https://forum.ansible.com/t/awx-not-working-after-var-permissions-changed/6301 "2024-06-11T14:05:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bjwebster](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/bjwebster/32/3709_2.png) [@bjwebster](https://forum.ansible.com/u/bjwebster)\
**Post date:** [June 11, 2024, 2:05pm UTC](https://forum.ansible.com/t/awx-not-working-after-var-permissions-changed/6301/1 "2024-06-11T14:05:07Z")

</div>

I have got myself into a bit of a hole. I was trying to get an execution environment with a volume configured to write to the /var dirctory on the host and I changed the permissions of the /var directory to 755 recursively. This had broken AWX.  
It is running on Linux EC2 instance in AWS under K3S.  
When I check the pods I get:  
NAME READY STATUS RESTARTS AGE  
awxbackup-21-02-24-db-management 0/1 Unknown 0 24m  
awxbackup-19-03-24-db-management 0/1 Unknown 0 24m  
awx-postgres-13-0 1/1 Running 13 (10m ago) 154d  
awx-operator-controller-manager-775bd7b75d-26s4r 2/2 Running 2 (10m ago) 4d1h  
awx-task-58c5ddcd99-7qzg6 2/4 CrashLoopBackOff 14 (3m59s ago) 4d1h  
awx-web-7546c74d6d-cc8zc 1/3 CrashLoopBackOff 13 (3m58s ago) 4d1h

I am not sure how I can reverse the change I made or correct it.

Can anyone give me a few pointer as to what I should do next?

---

<div class="post-metadata">

**Author:** ![fosterseth](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/fosterseth/32/101_2.png) [@fosterseth](https://forum.ansible.com/u/fosterseth)\
**Post date:** [June 12, 2024, 7:10pm UTC](https://forum.ansible.com/t/awx-not-working-after-var-permissions-changed/6301/2 "2024-06-12T19:10:29Z")

</div>

Yeah sadly your VM is likely in an unstable state. Important rancher files will live under /var, e.g.  
/var/lib/rancher/k3s/storage/

and will be affecting the containers from booting up properly.

You likely will need to recreate a new VM and get stuff running there. And be sure to only modify direction permissions on the exact storage path for your PV.

Seth

---

<div class="post-metadata">

**Author:** ![bjwebster](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/bjwebster/32/3709_2.png) [@bjwebster](https://forum.ansible.com/u/bjwebster)\
**Post date:** [June 13, 2024, 7:13am UTC](https://forum.ansible.com/t/awx-not-working-after-var-permissions-changed/6301/3 "2024-06-13T07:13:49Z")

</div>

Seth,  
Thanks for your reply. I had reached the same conclusion and am currently rebuilding my AWX.  
I won’t make that mistake again!
