Re: [PATCH 21/22] honor r/w changes at do_remount() time

Jan Engelhardt
2007-02-10T09:56:33Z

On Feb 9 2007 15:22, Andrew Morton wrote:
>On Fri, 09 Feb 2007 14:53:44 -0800
>Dave Hansen <hansendc@us.ibm.com> wrote:
>
>> This is the core of the read-only bind mount patch set.
>
>Who wants read-only bind mounts, and for what reason?

And another case could be, that some application modifies ~/.xyz, but the user
(with root's help) does not want that:

mount --bind -r ~/.xyz ~/.xyz

chmoding out the w bits does not always work, as programs might tamper with the
permissions of ~/.xyz itself... so a ro mount seems to be best.

Jan
--
ft: http://freshmeat.net/p/chaostables/