From fbc36bd439b34a97265b1dd351b1795cc6ecd744 Mon Sep 17 00:00:00 2001 From: Quentin Rameau Date: Wed, 8 Sep 2021 16:18:45 +0200 Subject: [PATCH] hooks/fix-permissions: reword error message MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The proper way of describing the culprit bit is “other” and not “all” users. --- common/hooks/post-install/14-fix-permissions.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/hooks/post-install/14-fix-permissions.sh b/common/hooks/post-install/14-fix-permissions.sh index 57b76ae9f48..9041c15a9e5 100644 --- a/common/hooks/post-install/14-fix-permissions.sh +++ b/common/hooks/post-install/14-fix-permissions.sh @@ -13,9 +13,9 @@ change_file_perms() { hook() { if [ -z "$nocheckperms" ]; then - # check that no files have permission write for all users + # check that no files have permission write for other users find "$PKGDESTDIR" -type f -perm -0002 | while read -r file; do - msg_error "$pkgver: file ${file#$PKGDESTDIR} has write permission for all users\n" + msg_error "$pkgver: file ${file#$PKGDESTDIR} has write permission for other users\n" done fi