Permissions trouble upgrading data container

I just had to do this again. I think what needs to happen is that

Needs to be:

        chown postgres:postgres /shared/postgres_*

It doesn’t really matter if you chown postgres:postgres inside the container, right?