Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enforce readonly when trying to mount a volume which was mounted with readonly in parent container #5

Open
felipecrs opened this issue Jun 17, 2023 · 0 comments

Comments

@felipecrs
Copy link
Owner

felipecrs commented Jun 17, 2023

That's to avoid gaining write access to a file in the host which was not allowed to the parent container.

The enforcement should be done within this loop:

for container_volume in "${parent_container_mounts[@]}"; do

felipecrs added a commit that referenced this issue Jun 17, 2023
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

No branches or pull requests

1 participant