mirror of
https://github.com/Kicksecure/security-misc.git
synced 2024-12-26 19:09:27 -05:00
comment
This commit is contained in:
parent
f4b1df02ee
commit
7aea304549
@ -387,6 +387,9 @@ set_file_perms() {
|
||||
fi
|
||||
|
||||
if [ "$capability_from_config" = "none" ]; then
|
||||
# sudo setcap -r /usr/bin/ping
|
||||
# Failed to set capabilities on file `/usr/bin/ping' (No data available)
|
||||
# The value of the capability argument is not permitted for a file. Or the file is not a regular (non-symlink) file
|
||||
echo_wrapper_audit setcap -r "$fso"
|
||||
else
|
||||
if ! capsh --print | grep "Bounding set" | grep -q "$capability_from_config" ; then
|
||||
|
Loading…
Reference in New Issue
Block a user