Skip to content

Permission errors with chown during postgresql init #24859

Answered by rhatdan
maleadt asked this question in Q&A
Discussion options

You must be logged in to vote

Directory being world writeable perhaps?

If you create a directory on your system that the user running Podman is not allowed to write to and his UIDs within their user namespace is not allowed to write to, then it will get permission denied. You could setup the directory such that it is world writeable or group writeable and then leak the group into the container.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@maleadt
Comment options

@rhatdan
Comment options

Answer selected by maleadt
@maleadt
Comment options

@maleadt
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants