FYI my specific use case is a secure environment where files owned by
anyone can be chmod'd via a program that can only run single
commands--if many directories need to be changed, `chmod -R g+S dir`
could be much faster than `find dir -type d -not -perm -g+s -exec
chmod g+s '{}' \;`.On Mon, Feb 3, 2025 at 1:07 PM Aaron Davies <[email protected]> wrote: > > In the contexts of recursive chmod, it would be useful to be able to > apply u+s, g+s, and +t only to directories. In the spirit of the > existing +X option, I suggest u+S/g+S/+T as the syntax for this > behavior. > -- > Aaron Davies > [email protected] -- Aaron Davies [email protected]
