GVFS NFS mount doesn't appear to implement the 'uid' and 'gid' arguments of libnfs
Submitted by Paul Jakma
Assigned to gvf..@..e.bugs
Link to original bug (#795000)
Description
I want to access my NFS home directory from my laptop. My UID and GID unfortunately differ between the two. Libnfs supports specifying the IDs in the URI:
https://github.com/sahlberg/libnfs/blob/master/README
I mount the NFS share using the URI options that libnfs appears to support:
$ gio mount 'nfs://nfsserver/path/homes/?uid=1234&gid=100'
I cd to a directory in the above gio mount and try touch a file that I should have access to:
$ pwd /run/user/1000/gvfs/nfs:host=nfsserver,prefix=%2Fpath%2Fhomes/myuser/tmp $ touch foo touch: cannot touch 'foo': Permission denied
When I use wireshark to look at the RPC credentials that were used on the wire, they are my local Unix IDs on my laptop, rather than the "uid=1234 / gid=100" credentials I had wanted to be used that are appropriate for the server.
Would it be possible to support passing these libnfs options on to libnfs?
Thanks
Version: 1.32.x