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
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue