Bash - Chmod


Reference

To copy the permissions from one file to another use:

chmod --reference=<source file to copy permissions from> <target file>