First of all, thanks for reading. I've had success running a plist launchd job that is in my LaunchAgents folder. It basically calls a small shell script that chmod's a folder's permissions. I then have another job that calls another script that changes it back to what it was before.
Now, I'm trying to figure out how to chmod a folder/file permissions for a particular group. I realize that every folder/file has an owner that belongs to a group. Yes, but how do I explicitly give permissions to another group of users through a shell script? Is this possible? I have also been reading about ACL's, is this the route I should go?
My script is simple now:
chmod -R 777 <FOLDERNAME>
then back:
chmod -R 000 <FOLDERNAME>
Running this while logged in as the administrator.
But I'd like to grant access for another group, in theory:
chmod -R 777 <FOLDERNAME> <GROUPNAME>
<-- yup, this is what I'm thinking