summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2016-02-22 14:07:16 +0200
committerTimo Teräs <timo.teras@iki.fi>2016-02-22 14:07:16 +0200
commit5c05446d0783b40b9e981b1af2f1ed0f3f331324 (patch)
tree5039c6db52c5ea3667f7e825efbb60b253ccb90e
parentd1ab7ed40f5f2acc8ba476a34828cf5000c63550 (diff)
downloadabuild-5c05446d0783b40b9e981b1af2f1ed0f3f331324.tar.gz
abuild-5c05446d0783b40b9e981b1af2f1ed0f3f331324.tar.bz2
abuild-5c05446d0783b40b9e981b1af2f1ed0f3f331324.tar.xz
abuild-5c05446d0783b40b9e981b1af2f1ed0f3f331324.zip
abuild: use gnu find supported way to find suid binaries
-rw-r--r--abuild.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/abuild.in b/abuild.in
index 7405f74..e069d46 100644
--- a/abuild.in
+++ b/abuild.in
@@ -618,7 +618,7 @@ postcheck() {
echo "$i"
fi
# check so we dont have any suid root binaries that are not PIE
- i=$(find "$dir" -type f -perm +6000 \
+ i=$(find "$dir" -type f -perm /6000 \
| xargs scanelf --nobanner --etype ET_EXEC \
| sed "s|ET_EXEC $dir|\t|")
if [ -n "$i" ]; then