hooks/fix-permissions: reword error message

The proper way of describing the culprit bit is “other”
and not “all” users.
This commit is contained in:
Quentin Rameau 2021-09-08 16:18:45 +02:00 committed by Michal Vasilek
parent 1bed42c29f
commit fbc36bd439

View file

@ -13,9 +13,9 @@ change_file_perms() {
hook() { hook() {
if [ -z "$nocheckperms" ]; then 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 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 done
fi fi