Why doesn’t mount respect the read only option for bind mounts?
On my Arch Linux system (Linux Kernel 3.14.2) bind mounts do not respect the read only option
On my Arch Linux system (Linux Kernel 3.14.2) bind mounts do not respect the read only option
Asked on serverfault but didn’t get enough attention, so reposted here, with the hope some people here know the answer.
It hasn’t always behaved this way, but nowadays I get this inconsistent behaviour. Bind mounts don’t copy existing mounts (unless you use --rbind), but new mounts (and unmounts) get copied automatically. It seems like a bug. What causes this?