Thank your for your bug report. Please note that the two references provided are compiled from the same source files.
Based on a bunch of tests I just did, the "s" does seem redundant, but not for reasons of execution. I couldn't end up with a file with my primary group name if the directory it was in has the "s" set. So yes, I believe that:
sudo find /var/www/html -type f -exec chmod g=rw "{}" \;
Thank your for your bug report. Please note that the two references provided are compiled from the same source files.
Based on a bunch of tests I just did, the "s" does seem redundant, but not for reasons of execution. I couldn't end up with a file with my primary group name if the directory it was in has the "s" set. So yes, I believe that:
sudo find /var/www/html -type f -exec chmod g=rw "{}" \;
would be good enough.
Peter do you have an opinion?