[lkml]   [1999]   [Dec]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: 2.3.30 linuxNFS import is broken (Screwed up NFS/RPC credentials)
Alexander Viro <> said:
> On Tue, 21 Dec 1999, Trond Myklebust wrote:
> > Let me explain: The problem is that NFS relies on the user sending the
> > RPC authentication each and every time we access data on the
> > server. In order not to get a permissions error suddenly if the user
> > changes euid while s/he is reading/writing to the open file, we
> > therefore want to use the same RPC authentication info throughout the
> > file's lifetime. Ideally that means taking the RPC auth info that was
> > valid when opening the file (since this is more or less in line with a
> > POSIX filesystem's behaviour with permission checking at file open
> > only) and caching it somewhere.

What if several people open the same file (from different machines, even)?
The permissions might have changed in between... AFAIKS, you need one such
cookie for each time the file has been open(2)ed via NFS, and that gets

What do "others" do in such a case?
Dr. Horst H. von Brand
Departamento de Informatica Fono: +56 32 654431
Universidad Tecnica Federico Santa Maria +56 32 654239
Casilla 110-V, Valparaiso, Chile Fax: +56 32 797513

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:55    [W:0.069 / U:29.376 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site