chmod: changing permissions of '/var/run/postgresql': Operation not permitted #1154
Replies: 3 comments
-
I am curious to know why you are overriding the user? The default user and group for postgres is |
Beta Was this translation helpful? Give feedback.
-
It's an habit, i run "all" containers rootless. |
Beta Was this translation helpful? Give feedback.
-
Yeah, it's OK to ignore this error -- our entrypoint specifically ignores errors from this command because it's intended to be a best-effort change that will fail in exactly the case you're in (running as non-root). 👍 |
Beta Was this translation helpful? Give feedback.
-
Hi,
I'm running this in my compose:
So running it as another user.
In the logs I see:
Read other issues about this but I'm not sure if my compose is ok and if I can just ignore this error.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions