Re: NFS bug ?!u

Alan Cox (alan@lxorguk.ukuu.org.uk)
Sun, 23 Feb 1997 10:04:12 +0000 (GMT)


> I would like to
> - know what's the reason and idea that this open() call succeeds for root

Because it came from cache

> - avoid corrupt/incomplete data if root tries to copy such files!
> either the file should be accessible and copies entirely or not at all IMHO.

Quite possibly. You'd need to a big chunk of checking to the NFS cache code.
As it is you'd still then get funny behaviour on chmod (as seen on all NFS
systems), and seteuid() calls.

Alan