Re: mount(2) in 2.3.99pre9!!!

From: Chris Evans (chris@ferret.lmh.ox.ac.uk)
Date: Thu Jun 01 2000 - 18:26:41 EST


On Thu, 1 Jun 2000, Alexander Viro wrote:

> Yes, we must check that it's not immutable/append-only (the former already
> checked, the latter... OK, needs to be added). But parent?
> Look: if we can add/remove on parent the permissions on mountpoint do not
> matter at all, because of your scenario. So maybe we need to check the
> parent (+ imm/a-o on the mountpoint, as usual) and to fsck with
> permissions on the mountpoint...

Sounds cool - as long as we we cater for S_ISVTX (I think we do), and
perform the checks even if a privileged user is doing the operation -
don't want immutable/append-only circumventions :)

Cheers
Chris

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Jun 07 2000 - 21:00:13 EST