Do you mean you want to get the group permissions on a specified file, and then set the permissions on all other files (recursively) to that value? What have you tried so far?
Out of the two options to change permissions:
chmod 777 file.txt
chmod a+rwx file.txt
I am writing a document to send out to our customers, detailing that they need to change the file permissions of a certain file.
To enforce the following permissions on files in /var/www, can I use the commands chmod u+s and chmod g+s? Do I just run it on the /var/www directory (once the permissions are properly set)?
chown -R root:web /var/www
chmod -R g+rw /var/www