2018-06-11, 23:17
Hello world,
Using Kodi on nVidia Shield, but this question is likely O/S-agnostic. Mounted storage in the Shield is via SMB only (not NFS.) But, within Kodi, one is able to browse and use NFS shares.
Since NFS does not use username/password, but rather UID, the question becomes: What UID does Kodi present when accessing a remote NFS share?
I am able to use NFS shares on Synology NAS, but only with setting "Squash all users to 'admin' (as per Kodi wiki.)" This is not ideal, since 'admin' has elevated rights, but DSM does not allow to squash to any other user. However, that can be changed by editing some configuration files on the NAS. Apparently NFS (in general, don't know about Synology) allows access under a given normal user account, but only if the client (Kodi, in this case) is using exactly the same username, UID, and GID. I don't think Kodi is presenting a username or GID, but must at least present a UID to the NFS server. Thus, the question above.
Using Kodi on nVidia Shield, but this question is likely O/S-agnostic. Mounted storage in the Shield is via SMB only (not NFS.) But, within Kodi, one is able to browse and use NFS shares.
Since NFS does not use username/password, but rather UID, the question becomes: What UID does Kodi present when accessing a remote NFS share?
I am able to use NFS shares on Synology NAS, but only with setting "Squash all users to 'admin' (as per Kodi wiki.)" This is not ideal, since 'admin' has elevated rights, but DSM does not allow to squash to any other user. However, that can be changed by editing some configuration files on the NAS. Apparently NFS (in general, don't know about Synology) allows access under a given normal user account, but only if the client (Kodi, in this case) is using exactly the same username, UID, and GID. I don't think Kodi is presenting a username or GID, but must at least present a UID to the NFS server. Thus, the question above.