Mounting an ISO image with readwrite permission
ISO 9660 (CD images) are not designed for writing. The entire filesystem is designed for efficient read only access.
If you want to change part of an .iso you have three options:
- Copy all data. Change the copy. Generate a new iso file.
- If the iso is part of a multi-session CD, you can add new files and change the index. This will not change the old files, nor can you gain space by erasing files.
- Use an overlay filesystem. All writes go to the non-iso part, but show up as if they were in the iso. This is how many live CDs work.