From: Ronnie Sahlberg Date: Tue, 13 Sep 2011 05:17:21 +0000 (+1000) Subject: update README with highly non-portable capability support on some linux kernels X-Git-Tag: upstream/1.9.6^2~300 X-Git-Url: https://git.piment-noir.org/?p=deb_libnfs.git;a=commitdiff_plain;h=22e73f32dddfdd536a2d6dff1ba184f592d45251 update README with highly non-portable capability support on some linux kernels --- diff --git a/README b/README index 001e6b4..24b1f00 100644 --- a/README +++ b/README @@ -35,6 +35,19 @@ 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. +Some versions of Linux support special capabilities that can be assigned to +programs to allow non-root users to bind to system ports. +This is set up by running + sudo setcap 'cap_net_bind_service=+ep' /path/to/executable +When libnfs is linked against an executable with this special capability +assigned to it, libnfs may be able to use system ports even when executing +under the privilege of a non-root user account. + +This is highly non-portable so IF this works on your linux system, count +yourself lucky. + + + PLATFORM support ================= As of now this is tested with linux, MacOSX and Apple iOS.