lkml.org 
[lkml]   [2000]   [Jan]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: knfsd, nlm and SHARE bug (?)
Date
From
> Poking about in the knfsd code, I see that when the NLM SHARE request
> comes in, we ultimately end up calling nfsd_permission() to check
> read access on the file to be shared. However, this is checked with
> a UID of nobody. SHARE denies the lock. Thus, unless all files on
> the exported directory are world-readable, even a properly
> authenticated owner on the Netware system can't do anything with them.

The same is the case with normal locking from some non-Linux clients
(e.g. OSF1) -- the file must be world readable if it is to be lockable
by the user.
I tracked it to similar sounding code, and reported it, but nobody picked it up

-
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/

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