From: Ronnie Sahlberg Date: Sun, 6 Feb 2011 05:39:37 +0000 (+1100) Subject: README: mention that you need "insecure" to use libnfs as non-root user X-Git-Tag: upstream/1.9.6^2~417 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=f7b81274cbb75ef0519bdec8f931c3f9b5abee80;p=deb_libnfs.git README: mention that you need "insecure" to use libnfs as non-root user --- diff --git a/README b/README index c02b8ec..3666a47 100644 --- a/README +++ b/README @@ -22,3 +22,15 @@ This API provides access to posix vfs like functions such as stat(), read(), ... examples/nfsclient-sync.c provides examples on how to use this API + + + +ROOT vs NON-ROOT +================ +When running as root, libnfs tries to allocate a system port for its connection +to the nfs server. When running as non-root it will use a normal +ephemeral port. +Many NFS servers default to a mode where they do not allow non-system +ports from connecting. +These servers require you use the "insecure" export option in /etc/exports +in order to allow libnfs clients to be able to connect.