# Vagrant: changing ownership of ‘/shared/postgres\_run’: Operation not permitted

**URL:** <https://meta.discourse.org/t/vagrant-changing-ownership-of-shared-postgres-run-operation-not-permitted/37197>\
**Category:** Self-hosting\
**Created:** [28 Diciembre, 2015 20:56 UTC](https://meta.discourse.org/t/vagrant-changing-ownership-of-shared-postgres-run-operation-not-permitted/37197 "2015-12-28T20:56:18Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Himanshu\_Chhangani](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/himanshu_chhangani/32/40772_2.png) [@Himanshu\_Chhangani](https://meta.discourse.org/u/Himanshu_Chhangani)\
**Post date:** [13 Julio, 2016 10:54 UTC](https://meta.discourse.org/t/vagrant-changing-ownership-of-shared-postgres-run-operation-not-permitted/37197/2 "2016-07-13T10:54:30Z")

</div>

If you have disabled SELinux, you’d better disable it in docker also.

> vi /etc/sysconfig/docker  
> OPTIONS=‘–selinux-enabled’ – Comment out this line by adding a # in beginning.

---

_[View the full topic](https://meta.discourse.org/t/vagrant-changing-ownership-of-shared-postgres-run-operation-not-permitted/37197)._
