Messages in this thread | | | Subject | Re: NFS client won't set GID on file create | From | Trond Myklebust <> | Date | 22 Mar 2000 18:23:22 +0100 |
| |
>>>>> " " == David Rysdam <drysdam@yahoo.com> writes:
> Looking at the NFS client code, I see the uid/gid getting set > to -1 before being sent to the server. Glancing over the
As you may have guessed, -1 here means 'no value supplied'. Setting the uid/gid here is a bug on many NFS servers (they refuse to create the file), hence we leave it to the server to choose.
The fsuid/fsgid will be passed to the server via the RPC credential scheme, and most (but not all) servers choose to use this for the file creation.
Cheers, Trond
Note: In my NFSv3 client patches, it's possible to define NFSD_BROKEN_UID in fs/nfs/dir.c, to cause the attributes to be set explicitly in the CREATE call. Because of the afore-mentioned problems with some servers it is not enabled by default.
- 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/
| |