New review comment by paper42 on void-packages repository https://github.com/void-linux/void-packages/pull/30139#discussion_r617092404 Comment: `! -perm -0600` would match a file with permissions 700, but not a file with permissions 670. I modified the function to accept a permission mask as its second argument. > Or even better: > find /usr/include/ -type f ! -perm -"$perms" -exec chmod -v "$perms" '{}' + Is this better? It's shorter, but also we lose the pretty warning message.