SUID Disabler and Permission Hardener

We are hitting ARG_MAX

getconf ARG_MAX

more info:
https://www.linuxjournal.com/article/6060

How can I prevent arguments to `xargs` from being prefixed with spaces? - Unix & Linux Stack Exchange said xargs can split it up.

Will use

done < <( find "${fso_without_trailing_slash}/" -print0 | xargs -I{} -0 stat -c "%n %a %U %G" {} )

to fix it.

1 Like