Re: knfsd, nlm and SHARE bug (?)

From: Piete Brooks (Piete.Brooks@cl.cam.ac.uk)
Date: Mon Jan 17 2000 - 16:08:10 EST


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



This archive was generated by hypermail 2b29 : Sun Jan 23 2000 - 21:00:16 EST