#!/bin/bash

# Filter to display files with the SUID or GUID bits set. Sticky bit is ok.

# Tar only passes FILES to this script, directories are not examined here.

if [ ${TAR_MODE} -gt 01777 ] ; then
    printf '%s\t"%s"\n' "${TAR_MODE}" "${TAR_FILENAME}" < /dev/null
fi
