-rw-r----- 1 user groupname footer.tpl-rw-r----- 1 user user footer.tplchmod g+s folderOn most systems, if a directory’s set-group-ID bit is set, newly created subfiles inherit the same group as the directory, and newly created subdirectories inherit the set-group-ID bit of the parent directory.