coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Feature Request: chmod u+s/g+s/+t for dirs only


From: Aaron Davies
Subject: Re: Feature Request: chmod u+s/g+s/+t for dirs only
Date: Mon, 3 Feb 2025 14:22:25 -0500

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 <aaron.davies@gmail.com> 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
> aaron.davies@gmail.com



-- 
Aaron Davies
aaron.davies@gmail.com



reply via email to

[Prev in Thread] Current Thread [Next in Thread]