# 데이터 컨테이너 업그레이드 시 권한 문제

**URL:** <https://meta.discourse.org/t/permissions-trouble-upgrading-data-container/327794>\
**Category:** Bug\
**Tags:** dev-ops, fixed\
**Created:** [9월 23, 2024, 5:30오후 UTC](https://meta.discourse.org/t/permissions-trouble-upgrading-data-container/327794 "2024-09-23T17:30:08Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [10월 1, 2024, 3:29오후 UTC](https://meta.discourse.org/t/permissions-trouble-upgrading-data-container/327794/5 "2024-10-01T15:29:36Z")

</div>

다시 이 작업을 수행해야 했습니다. 제가 생각하기에 다음과 같이 변경되어야 합니다.

> <https://github.com/discourse/discourse_docker/blob/20e33fbfd98d3b8d9c57f7a111beff8aa51a5b98/templates/postgres.template.yml#L55>

아래와 같이 되어야 합니다:

```plaintext
        chown postgres:postgres /shared/postgres_*

```

> [@tgxworld](#):
>
> 2년 전의 사용자 ID와 그룹 ID가 무엇이었는지 100% 확신할 수 없습니다.

컨테이너 내부에서 `chown postgres:postgres`를 실행하는 것이므로, 실제로는 중요하지 않지 않나요?

---

_[View the full topic](https://meta.discourse.org/t/permissions-trouble-upgrading-data-container/327794)._
