diff options
author | Adrian Mouat <adrian.mouat@container-solutions.com> | 2019-07-06 10:46:24 +0100 |
---|---|---|
committer | Adrian Mouat <adrian.mouat@container-solutions.com> | 2019-07-06 10:46:24 +0100 |
commit | c81f2309b912a00d943afd887616c00a5984c283 (patch) | |
tree | f4badaebeb96f6320a79cd95cdba11fa833eebbd | |
parent | 84ca65ca980315c73f929fed8b6f16bbd698c3a0 (diff) | |
download | iputils-c81f2309b912a00d943afd887616c00a5984c283.tar.gz |
Update shell command in line with comment.
- remove effective bit which is uneeded as utils are capability aware.
-rwxr-xr-x | build-aux/setcap-setuid.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build-aux/setcap-setuid.sh b/build-aux/setcap-setuid.sh index 01f167d..7bc5a1f 100755 --- a/build-aux/setcap-setuid.sh +++ b/build-aux/setcap-setuid.sh @@ -17,7 +17,7 @@ case "$perm_type" in ;; 'caps') echo "$0: calling: $setcap cap_net_raw+p $exec_path" - "$setcap" 'cap_net_raw+ep' "$exec_path" || true + "$setcap" 'cap_net_raw+p' "$exec_path" || true ;; 'setuid') echo "$0: changing $exec_path to be setuid root executable" |