On Sun, Sep 09, 2007 at 11:57:58AM +0200, Johan Walles wrote: > After creating a bind mount with "-o ro" I can still write to the target > directory. > Repro (notice how I can create a file in the readonly directory):
Mount called the kernel, told it to mount it read-only. And the kernel said it worked. Obviously, the checks for rw vs ro are done at a level that misses the fact that you came in via the bind mount... Sounds like a kernel/file-system bug, not a mount bug... lamont -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

