You're looking at it from the wrong direction. A bind mount will map something *onto* another thing (file or directory). Your problem, abstracted, is this:
- you do not want to change the root file system (very good idea)
- you want to have different file content in place of an existing file
So you should
- create a copy of the file in question (to the user store) and modify it so it has the content you want
- then bind-mount that file onto the file in the root file system (well, to be exact, to that excerpt of the virtual file system name space that is otherwise backed by the root file system)
PS: Ah, I only now see the your Edit (due to me not reading properly through the whole post). I leave my answer above, maybe it clears things up for others.
|