On 14/02/17 03:48, Reuti wrote:
> Hi,
> 
> the usual approach to change recursively the SGID bits of directories only 
> seems to be:
> 
> find -type d -print0 | xargs -0 -r chmod g+s
> 
> to avoid that files will it get assigned too. Was there ever the idea to have 
> a shortcut for it like:
> 
> chmod -R g+S    (set SGID bit for directories only)
> chmod -D g+s    (--dir-recursive do it recursively like -R, but work on 
> directories only)

These were previously discussed at:
https://www.gnu.org/software/coreutils/rejected_requests.html#chmod

thanks,
Pádraig

Reply via email to