Skip to content

Introduce CHOWN_FILES_ON_STARTUP env var, which defaults to 1 but can be disabled#81

Open
MaddieM4 wants to merge 1 commit into
garethflowers:mainfrom
MaddieM4:optionalize-chown
Open

Introduce CHOWN_FILES_ON_STARTUP env var, which defaults to 1 but can be disabled#81
MaddieM4 wants to merge 1 commit into
garethflowers:mainfrom
MaddieM4:optionalize-chown

Conversation

@MaddieM4

Copy link
Copy Markdown
Contributor

I have a use case where it makes perfect sense to mount a read-only filesystem, as-is, and make no changes to ownership at the start of the container. I didn't want to change default behavior for everybody else, though! So I added an environment variable which allows for chowning to be an optional - but default - behavior. Anyone who needs to turn chowning off, they can.

@handgull

Copy link
Copy Markdown

This feature would be very useful for me too!

@handgull

handgull commented Nov 27, 2024

Copy link
Copy Markdown

Actually in my use case i have solved this issue adding :ro to the docker volume!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants