#!/bin/bash path=/srv/share01 chmod -R 6775 $path chgrp -R "Group name" $path chown root -R $path