From: Florian Forster Date: Fri, 2 Sep 2011 02:55:32 +0000 (-0400) Subject: README: Add note about capabilities. X-Git-Tag: liboping-1.6.2~4 X-Git-Url: https://git.tokkee.org/?p=liboping.git;a=commitdiff_plain;h=c6a845339a230ef3abbfb9aaafeab2ff9bf8f749 README: Add note about capabilities. --- diff --git a/README b/README index 5488fb4..95ae19b 100644 --- a/README +++ b/README @@ -43,6 +43,14 @@ Permissions (which is strongly suggested), you won't be able to use the binaries as a normal user, because you won't have the permission to open raw sockets. + The “install” target will automatically try fix this, if it is run with UID~0 + (as user root). When on Linux, the capabilities described below will be + added. On other UNIXes the traditional Set-UID method (also described below) + is used instead. The build system will not abort if this fails, because there + are file systems which do not support either method. Also, the Debian + packaging system and possibly other scenarios only act as if they were + running as root. + Linux ━━━━━ On Linux, the preferred method is to assign the required “capability” to the