# ReadOnlyMany perms for storageclass

**URL:** <https://forum.ansible.com/t/readonlymany-perms-for-storageclass/37116>\
**Category:** AWX Project\
**Created:** [September 17, 2022, 10:40pm UTC](https://forum.ansible.com/t/readonlymany-perms-for-storageclass/37116 "2022-09-17T22:40:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kaushik\_R](https://avatars.discourse-cdn.com/v4/letter/k/c67d28/32.png) [@Kaushik\_R](https://forum.ansible.com/u/Kaushik_R)\
**Post date:** [September 17, 2022, 10:40pm UTC](https://forum.ansible.com/t/readonlymany-perms-for-storageclass/37116/1 "2022-09-17T22:40:56Z")

</div>

Hi,

Is it required to grant ReadWriteOnce/ReadWriteMany perms for the storageclass or can I restrict perms to ReadOnlyMany?

---

<div class="post-metadata">

**Author:** ![Kaushik\_R](https://avatars.discourse-cdn.com/v4/letter/k/c67d28/32.png) [@Kaushik\_R](https://forum.ansible.com/u/Kaushik_R)\
**Post date:** [September 19, 2022, 9:22pm UTC](https://forum.ansible.com/t/readonlymany-perms-for-storageclass/37116/2 "2022-09-19T21:22:22Z")

</div>

Any help here?

---

<div class="post-metadata">

**Author:** ![AWX\_Project](https://avatars.discourse-cdn.com/v4/letter/a/eada6e/32.png) [@AWX\_Project](https://forum.ansible.com/u/AWX_Project)\
**Post date:** [September 21, 2022, 6:56pm UTC](https://forum.ansible.com/t/readonlymany-perms-for-storageclass/37116/3 "2022-09-21T18:56:11Z")

</div>

Is this in reference to the postgres PVC or the projects persistence PVC (or both)?

postgres PVC can be readwriteonce, since it is only mounted to the postgres pod

the projects\_persistence PVC can only be readwriteonce if there is only a single AWX pod

ReadOnlyMany is unlikely to work (awx will need write access projects\_persistence PVC, and postgres needs write access to postgres PVC)

Hope that helps,

AWX Team

---

<div class="post-metadata">

**Author:** ![Kaushik\_R](https://avatars.discourse-cdn.com/v4/letter/k/c67d28/32.png) [@Kaushik\_R](https://forum.ansible.com/u/Kaushik_R)\
**Post date:** [September 23, 2022, 4:34pm UTC](https://forum.ansible.com/t/readonlymany-perms-for-storageclass/37116/4 "2022-09-23T16:34:42Z")

</div>

This helps. I will use ReadWriteOnce in that case.
