Skip to content

Conversation

@OskarKarpinski
Copy link

@OskarKarpinski OskarKarpinski commented Aug 14, 2025

Fixes a permission denied error when using SELinux (for example on Fedora)

Without this, after downloading the recovery image, the error:

mv: cannot create regular file '/storage/base.dmg': Permission denied
install.sh: line 147: /storage/macos.version: Permission denied

and the recovery will download again and again.

":Z" should also work, but “:rw” works without any problems.

Fixes a permission denied error when using SELinux (for example on Fedora)
@kroese
Copy link
Contributor

kroese commented Aug 27, 2025

This is the first time I hear about a system where rw is not the default for volumes?

I'd prefer to keep the example compose files as brief as possible, so unless this is really needed I would like to avoid adding rw explicitly.

Are you sure this is not an issue with your specific SElinux config or some other modifications? Because I would have expected more people to report this problem if it was a common problem.

@OskarKarpinski
Copy link
Author

Are you sure this is not an issue with your specific SElinux config or some other modifications? Because I would have expected more people to report this problem if it was a common problem.

I haven't changed anything in the configuration, it's basically a fairly fresh system installation

@kroese
Copy link
Contributor

kroese commented Aug 27, 2025

@M3DZIK Very strange.. I never heard from any Fedora or podman user that they needed to add an explicit rw to their volumes to make them writeable.

I will keep an eye on it, and as soon as I get another report of this behaviour I will merge this pull request.

@OskarKarpinski
Copy link
Author

@M3DZIK Very strange.. I never heard from any Fedora or podman user that they needed to add an explicit rw to their volumes to make them writeable.

I will keep an eye on it, and as soon as I get another report of this behaviour I will merge this pull request.

Okay, and just to clarify, I'm using docker, not podman.

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