I accidentally removed the "staff" group from a set of folder permissions and I have no idea how to get it back.
Is there a way to get it back, and if so how?
Not quite sure what you mean here. You lost the
The file definition is only used before Directory Services is started during boot — and I suspect not even then.
If you mean the folders are no longer in group