This commit is contained in:
Patrick Schleizer 2019-12-20 02:06:31 -05:00
parent 1819577b88
commit a6988f3fb8
No known key found for this signature in database
GPG Key ID: CB8D50BB77BB3C48

View File

@ -19,7 +19,7 @@ add_statoverride_entry() {
fi
if test -u "${file_name}" || test -g "${file_name}"; then
echo "suid - file_name: '${file_name}' | existing_mode: '${existing_mode}'"
echo "suid - file_name: '${file_name}' | existing_mode: '${existing_mode}' | existing_mode:1: '${existing_mode:1}'"
if dpkg-statoverride --list | grep -q "${file_name}"; then
if ! dpkg-statoverride --list | grep -q "${owner} ${group} ${existing_mode:1} ${file_name}"; then