Open gisburn opened 5 months ago
Hi @gisburn,
on create, the NFS server changes the file owner to uid that have performed the RPC call. So, if you don't run NFS server as root, then uid of NFS server process should match uid in the RPC request. Du you use the same UID in both cases?
all_squash,anonuid=%d,anongid=%d
Erm... does "simple-nfs" support the { all_squash,anonuid=... and anongid=... } export options (uid/gid values for anonuid/anongid match that of the user who launched java) ?
The way I try to use the NFSv4 server is that all new files are created for the anon user, regardless what the owner/owner_group say - so |setuid()|/|setgid()| or |chown()|/|chgrp()| should not be executed by the server...
I cannot get $ git clone ... # to work with simple-nfs:
Example (same results with and without being "root"): ---- snip ----
---- snip ----
A git clone fails like this: ---- snip ----
---- snip ----
The simple-nfs server prints this: ---- snip ----
---- snip ----