nfs.c has the following hack:
/* Hack: tell the caller he is the owner */
unix_cred = (struct authunix_parms *)
req->rq_clntcred;
attr.ns_attr.na_uid = (u_long) unix_cred->aup_uid;
so that the file appears to be owned by whoever did the
GETATTR etc.
However, the hack is before the file_getattr() call so
it is completely ignored.
I'm not sure just moving it is a good idea, though.
The nfs client will cache the attributes, so a file
being examined by two different users will end up
"owned" by one or the other.
Logged In: YES
user_id=51773
For now try it with the hack moved so it has an effect.