I have an ISO image with a UDF filesystem and a boot sector and I need to add a file to it. When I do
sudo mount -o loop,rw /tmp/file.iso /tmp/dir
I get
mount: block device /tmp/file.iso is write-protected, mounting read-only
This happens even if I remove loop or add unhide. The file has permissions rw-rw-rw-. I have tried various UDF command-line tools, but they all demand an actual CD drive, and won't even work with the loopback device. So is there anything I can do?
Because this has a boot sector, I'd rather edit the ISO file directly than unpack/repack.
Using Kubuntu 14.04 here. Thanks.