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:
parent
1bed42c29f
commit
fbc36bd439
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue