From: Christian Heller Date: Sun, 11 May 2025 23:15:06 +0000 (+0200) Subject: Fix. X-Git-Url: https://plomlompom.com/repos/%22https:/validator.w3.org/pick_tasks?a=commitdiff_plain;h=c0cf8d076533ab9e9659eb53bb4fcf79a15d0ca2;p=config Fix. --- diff --git a/bookworm/scripts/diff_tagged_files.sh b/bookworm/scripts/diff_tagged_files.sh index 4e3795b..f34b4d3 100755 --- a/bookworm/scripts/diff_tagged_files.sh +++ b/bookworm/scripts/diff_tagged_files.sh @@ -65,7 +65,11 @@ compare_tagdir() { else _EXPECTED_OWNERSHIP='root:root' fi - _EXPECTED_PERMISSIONS=$(stat --format='%a' --dereference ${_PATH_REL}) + if [ 'symbolic link' = "${_TYPE}" ]; then + _EXPECTED_PERMISSIONS=777 + else + _EXPECTED_PERMISSIONS=$(stat --format='%a' --dereference ${_PATH_REL}) + fi set +e _compare_stat 'ownership' '%U:%G' "${_EXPECTED_OWNERSHIP}"; _compare_stat 'permissions' '%a' "${_EXPECTED_PERMISSIONS}";