Re: [PATCH v4 1/1] vfs: Respect MS_RDONLY at bind mount creation

2015-02-25 Thread Mateusz Guzik
On Wed, Nov 05, 2014 at 08:44:03PM -0500, Richard Yao wrote: > `mount -o bind,ro ...` suffers from a silent failure where the readonly > flag is ignored. The bind mount will be created rw whenever the target > is rw. Users typically workaround this by remounting readonly, but that > does not work

Re: [PATCH v4 1/1] vfs: Respect MS_RDONLY at bind mount creation

2015-02-25 Thread Mateusz Guzik
On Wed, Nov 05, 2014 at 08:44:03PM -0500, Richard Yao wrote: `mount -o bind,ro ...` suffers from a silent failure where the readonly flag is ignored. The bind mount will be created rw whenever the target is rw. Users typically workaround this by remounting readonly, but that does not work when

[PATCH v4 1/1] vfs: Respect MS_RDONLY at bind mount creation

2014-11-05 Thread Richard Yao
`mount -o bind,ro ...` suffers from a silent failure where the readonly flag is ignored. The bind mount will be created rw whenever the target is rw. Users typically workaround this by remounting readonly, but that does not work when you want to define readonly bind mounts in fstab. This is a

[PATCH v4 1/1] vfs: Respect MS_RDONLY at bind mount creation

2014-11-05 Thread Richard Yao
`mount -o bind,ro ...` suffers from a silent failure where the readonly flag is ignored. The bind mount will be created rw whenever the target is rw. Users typically workaround this by remounting readonly, but that does not work when you want to define readonly bind mounts in fstab. This is a

[PATCH v4 1/1] vfs: Respect MS_RDONLY at bind mount creation

2014-10-27 Thread Richard Yao
`mount -o bind,ro ...` suffers from a silent failure where the readonly flag is ignored. The bind mount will be created rw whenever the target is rw. Users typically workaround this by remounting readonly, but that does not work when you want to define readonly bind mounts in fstab. This is a

[PATCH v4 1/1] vfs: Respect MS_RDONLY at bind mount creation

2014-10-27 Thread Richard Yao
`mount -o bind,ro ...` suffers from a silent failure where the readonly flag is ignored. The bind mount will be created rw whenever the target is rw. Users typically workaround this by remounting readonly, but that does not work when you want to define readonly bind mounts in fstab. This is a