From f7b81274cbb75ef0519bdec8f931c3f9b5abee80 Mon Sep 17 00:00:00 2001 From: Ronnie Sahlberg Date: Sun, 6 Feb 2011 16:39:37 +1100 Subject: [PATCH] README: mention that you need "insecure" to use libnfs as non-root user --- README | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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. -- 2.34.1