Re: [hackers] [PATCH 2/2] scripts: Fix non-portable find -perm /mode

From: Randy Palamar <palamar_AT_ualberta.ca>
Date: Sun, 29 Oct 2023 07:50:47 -0600

Hi Quentin,

> -find . ! -name . -prune -type f -perm /111 |
> +find . ! -name . -prune -type f \( -perm -u+x -o -perm -g+x -o -perm o+x \) |

I believe `-perm -111` is equivalent and specified by POSIX.

- Randy
Received on Sun Oct 29 2023 - 14:50:47 CET

This archive was generated by hypermail 2.3.0 : Sun Oct 29 2023 - 15:24:14 CET